ansible: add become test case

wip-fakessh-exit-status
David Wilson 7 years ago
parent ed09076bdd
commit 8204dc69e7

@ -0,0 +1,8 @@
---
- name: "This command should run as the SSH user"
command: whoami
- name: "This command should run as root"
become: true
command: whoami

@ -0,0 +1,6 @@
---
- hosts: all
roles:
- whoami
Loading…
Cancel
Save