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