ansible: add become test case

pull/79/head
David Wilson 7 years ago
parent 3a96389d08
commit 2efb790a2f

@ -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