Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/filguard/lotus-ops
- Loading branch information
Showing
31 changed files
with
3,899 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
ansible/2-start-window-post-miner.yaml → ansible/1-start-window-post-miner.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
- hosts: amd | ||
tasks: | ||
- debug: var=ansible_default_ipv4.address | ||
- debug: var=ansible_hostname | ||
|
||
- name: Create workspace directory | ||
file: | ||
path: '{{ workspace }}' | ||
state: directory | ||
owner: '{{ remote_user }}' | ||
group: '{{ remote_user }}' | ||
mode: +x | ||
|
||
- name: Copy check script to remote server | ||
copy: | ||
src: '{{ workspace }}/lotus-ops/scripts/lotus-version-check.sh' | ||
dest: '{{ workspace }}' | ||
owner: '{{ remote_user }}' | ||
group: '{{ remote_user }}' | ||
mode: +x | ||
|
||
- name: Lotus version check | ||
shell: '{{ workspace }}/lotus-version-check.sh' | ||
register: check_result | ||
|
||
- name: Echo check result | ||
debug: | ||
msg: '{{ check_result.stdout }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
|
||
- name: Echo check result | ||
debug: | ||
msg: '{{ check_result.stdout }}' | ||
msg: '{{ check_result.stdout }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.