From 0372d0c2fb61fe4f8d394539b1a137dbf60a91a4 Mon Sep 17 00:00:00 2001 From: Hyperling <me@hyperling.com> Date: Thu, 11 Feb 2021 20:41:49 -0600 Subject: [PATCH] Try fixing file, would not execute. --- tasks/general/scripts/root.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/general/scripts/root.yml b/tasks/general/scripts/root.yml index 5e1e782..b3c5089 100644 --- a/tasks/general/scripts/root.yml +++ b/tasks/general/scripts/root.yml @@ -5,11 +5,11 @@ blockinfile: path: /root/scm.sh block: | + #!{{ bash_exec.stdout }} # 20210211 - Make life easier! ssh ling@leet "cd Code/Ansible/ansible-pull; git push" curl https://scm.hyperling.com | bash - marker: '#{mark} MANAGED BY ANSIBLE | SCM Shortcut Script' - marker_begin: "!{{ bash_exec.stdout }}" + marker: '' state: present create: yes backup: yes