From 6106c27707194e9bd116f9fc568dfcfaa1789a6f Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 8 Mar 2018 20:06:58 +0545 Subject: [PATCH] ansible: repro for issue #118. --- examples/playbook/issue_118.yml | 11 +++++++++++ examples/playbook/scripts/issue_118_saytrue | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 examples/playbook/issue_118.yml create mode 100644 examples/playbook/scripts/issue_118_saytrue diff --git a/examples/playbook/issue_118.yml b/examples/playbook/issue_118.yml new file mode 100644 index 00000000..0e2b6751 --- /dev/null +++ b/examples/playbook/issue_118.yml @@ -0,0 +1,11 @@ +--- + +# issue #118 repro: chmod +x not happening during script upload +# +- name: saytrue + hosts: all + become: True + + tasks: + - name: run script saytrue + script: scripts/issue_118_saytrue diff --git a/examples/playbook/scripts/issue_118_saytrue b/examples/playbook/scripts/issue_118_saytrue new file mode 100644 index 00000000..01118e0f --- /dev/null +++ b/examples/playbook/scripts/issue_118_saytrue @@ -0,0 +1,2 @@ +#!/bin/bash +/bin/true