diff options
Diffstat (limited to 'test/integration/targets/inventory_ini/test_ansible_become.yml')
-rw-r--r-- | test/integration/targets/inventory_ini/test_ansible_become.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/targets/inventory_ini/test_ansible_become.yml b/test/integration/targets/inventory_ini/test_ansible_become.yml new file mode 100644 index 0000000..55bbe7d --- /dev/null +++ b/test/integration/targets/inventory_ini/test_ansible_become.yml @@ -0,0 +1,11 @@ +- hosts: testhost + gather_facts: no + tasks: + - name: Test proper bool evaluation of ansible_become (issue #70476) + shell: whoami + register: output + + - name: Assert we are NOT the become user specified + assert: + that: + - "output.stdout != 'ansibletest1'" |