From 5a9ca8744d17d5a7635b9646657ad1e49b57ece9 Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Thu, 30 Nov 2023 20:03:28 -0500 Subject: [PATCH] Re-enable ansible --- .drone.star | 2 +- startup_scripts/splunk_ansible.sh.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.star b/.drone.star index 170f8a2..d9c2b14 100644 --- a/.drone.star +++ b/.drone.star @@ -116,7 +116,7 @@ TEMPLATES = { "coder_user_uid": "41812", "coder_user_gid": "41812", "vs_code_root": "/opt/splunk", - # "startup_scripts": ["splunk_ansible"] + "startup_scripts": ["splunk_ansible"] }, }, "terraform": { diff --git a/startup_scripts/splunk_ansible.sh.j2 b/startup_scripts/splunk_ansible.sh.j2 index 10b0910..131f102 100644 --- a/startup_scripts/splunk_ansible.sh.j2 +++ b/startup_scripts/splunk_ansible.sh.j2 @@ -1,2 +1,2 @@ [ -e /usr/bin/python ] || sudo ln -s python3 /usr/bin/python - sudo -E -u ansible /sbin/entrypoint.sh start | tee splunk-startup.log & \ No newline at end of file + sudo -E -u ansible /sbin/entrypoint.sh start \ No newline at end of file