15 lines
454 B
YAML
Raw Normal View History

---
# Create file to easily push git changes and call SCM.
- name: General | Scripts | Root | Call SCM
blockinfile:
path: /root/scm.sh
block: |
# 20210211 - Make life easier!
2021-02-11 20:14:21 -06:00
ssh ling@leet "cd Code/Ansible/ansible-pull; git push"
curl https://scm.hyperling.com | bash
2021-02-11 20:13:20 -06:00
marker: '#{mark} MANAGED BY ANSIBLE | SCM Shortcut Script'
marker_begin: "!{{ bash_exec.stdout }}"
state: present
create: yes
backup: yes