Fix shebang.

This commit is contained in:
Hyperling 2021-02-11 20:13:20 -06:00
parent 993144c76e
commit 806a0aa638

View File

@ -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