ansible patch
This commit is contained in:
@@ -1,16 +1,25 @@
|
|||||||
---
|
---
|
||||||
- name: ipcheck shell start
|
- name: ipcheck shell start
|
||||||
shell: sh {{ role_path }}/files/ipcheck.sh
|
shell: sh {{ role_path }}/files/ipcheck.sh
|
||||||
#when: inventory_hostname == group['bastion'][0]
|
args:
|
||||||
|
chdir: /runner/project
|
||||||
|
|
||||||
- name: git remote add
|
#- name: git remote add
|
||||||
shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git
|
# shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git
|
||||||
|
# args:
|
||||||
|
# chdir: /runner/project
|
||||||
|
|
||||||
- name: git add
|
- name: git add
|
||||||
shell: git add .
|
shell: git add .
|
||||||
|
args:
|
||||||
|
chdir: /runner/project
|
||||||
|
|
||||||
- name: git commit
|
- name: git commit
|
||||||
shell: git commit -m "ip check update"
|
shell: git commit -m "ip check update"
|
||||||
|
args:
|
||||||
|
chdir: /runner/project
|
||||||
|
|
||||||
- name: git push
|
- name: git push
|
||||||
shell: git push -u origin main
|
shell: git push -u origin main
|
||||||
|
args:
|
||||||
|
chdir: /runner/project
|
||||||
|
|||||||
Reference in New Issue
Block a user