Debian Codegraph @

test/integration/targets/inventory_ini/test_ansible_become.yml

raw
1 - hosts: testhost
2 gather_facts: no
3 tasks:
4 - name: Test proper bool evaluation of ansible_become (issue #70476)
5 shell: whoami
6 register: output
7
8 - name: Assert we are NOT the become user specified
9 assert:
10 that:
11 - "output.stdout != 'ansibletest1'"