Fix shebang.
This commit is contained in:
parent
993144c76e
commit
806a0aa638
@ -5,11 +5,11 @@
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
path: /root/scm.sh
|
path: /root/scm.sh
|
||||||
block: |
|
block: |
|
||||||
#!/bin/bash
|
|
||||||
# 20210211 - Make life easier!
|
# 20210211 - Make life easier!
|
||||||
'ssh ling@leet "cd Code/Ansible/ansible-pull; git push"'
|
'ssh ling@leet "cd Code/Ansible/ansible-pull; git push"'
|
||||||
'curl https://scm.hyperling.com | bash'
|
'curl https://scm.hyperling.com | bash'
|
||||||
marker: '# {mark} MANAGED BY ANSIBLE | SCM Shortcut Script'
|
marker: '#{mark} MANAGED BY ANSIBLE | SCM Shortcut Script'
|
||||||
|
marker_begin: "!{{ bash_exec.stdout }}"
|
||||||
state: present
|
state: present
|
||||||
create: yes
|
create: yes
|
||||||
backup: yes
|
backup: yes
|
Loading…
x
Reference in New Issue
Block a user