issue #409: mark sudo test noninteractive

issue260
David Wilson 6 years ago
parent a77f07659e
commit e832ddec13

@ -14,7 +14,7 @@
- debug: msg={{out}} - debug: msg={{out}}
- command: sudo whoami - command: sudo -n whoami
args: args:
warn: false warn: false
ignore_errors: true ignore_errors: true
@ -22,7 +22,7 @@
when: out.ansible_facts.ansible_system == 'Linux' when: out.ansible_facts.ansible_system == 'Linux'
- command: | - command: |
sudo -E ansible sudo -nE ansible
-i localhost, -i localhost,
-c setns -c setns
-e mitogen_kind=lxc -e mitogen_kind=lxc

Loading…
Cancel
Save