blob: 55bbe7da3fe6cc36819f66cbecc128727ae49dd0 (
plain)
1
2
3
4
5
6
7
8
9
10
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'"
|