@ -53,20 +53,22 @@
vars:
vars:
ansible_become_pass : user1_password
ansible_become_pass : user1_password
when:
when:
# https://github.com/ansible/ansible/pull/70785
# CI containers lack `setfacl` for unpriv -> unpriv
- ansible_facts.distribution not in ["MacOSX"]
# https://github.com/mitogen-hq/mitogen/issues/1118
or ansible_version.full is version("2.11", ">=", strict=True)
- is_mitogen
or is_mitogen
or (ansible_facts.distribution in ["MacOSX"]
and ansible_version.full is version("2.11", ">=", strict=True))
- assert:
- assert:
that:
that:
- out.stdout == 'mitogen__user1'
- out.stdout == 'mitogen__user1'
fail_msg : out={{out}}
fail_msg : out={{out}}
when:
when:
# https://github.com/ansible/ansible/pull/70785
# CI containers lack `setfacl` for unpriv -> unpriv
- ansible_facts.distribution not in ["MacOSX"]
# https://github.com/mitogen-hq/mitogen/issues/1118
or ansible_version.full is version("2.11", ">=", strict=True)
- is_mitogen
or is_mitogen
or (ansible_facts.distribution in ["MacOSX"]
and ansible_version.full is version("2.11", ">=", strict=True))
- name : Ensure password su without chdir succeeds
- name : Ensure password su without chdir succeeds
shell : whoami
shell : whoami
@ -76,20 +78,22 @@
vars:
vars:
ansible_become_pass : user1_password
ansible_become_pass : user1_password
when:
when:
# https://github.com/ansible/ansible/pull/70785
# CI containers lack `setfacl` for unpriv -> unpriv
- ansible_facts.distribution not in ["MacOSX"]
# https://github.com/mitogen-hq/mitogen/issues/1118
or ansible_version.full is version("2.11", ">=", strict=True)
- is_mitogen
or is_mitogen
or (ansible_facts.distribution in ["MacOSX"]
and ansible_version.full is version("2.11", ">=", strict=True))
- assert:
- assert:
that:
that:
- out.stdout == 'mitogen__user1'
- out.stdout == 'mitogen__user1'
fail_msg : out={{out}}
fail_msg : out={{out}}
when:
when:
# https://github.com/ansible/ansible/pull/70785
# CI containers lack `setfacl` for unpriv -> unpriv
- ansible_facts.distribution not in ["MacOSX"]
# https://github.com/mitogen-hq/mitogen/issues/1118
or ansible_version.full is version("2.11", ">=", strict=True)
- is_mitogen
or is_mitogen
or (ansible_facts.distribution in ["MacOSX"]
and ansible_version.full is version("2.11", ">=", strict=True))
tags:
tags:
- su
- su