|
|
@ -21,16 +21,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------
|
|
|
|
# ---------------
|
|
|
|
|
|
|
|
|
|
|
|
- name: Verify we can login to a passworded requiretty account
|
|
|
|
# TODO: https://github.com/dw/mitogen/issues/692
|
|
|
|
shell: whoami
|
|
|
|
# - name: Verify we can login to a passworded requiretty account
|
|
|
|
become: true
|
|
|
|
# shell: whoami
|
|
|
|
become_user: mitogen__require_tty_pw_required
|
|
|
|
# become: true
|
|
|
|
vars:
|
|
|
|
# become_user: mitogen__require_tty_pw_required
|
|
|
|
ansible_become_pass: require_tty_pw_required_password
|
|
|
|
# vars:
|
|
|
|
register: out
|
|
|
|
# ansible_become_pass: require_tty_pw_required_password
|
|
|
|
when: is_mitogen
|
|
|
|
# register: out
|
|
|
|
|
|
|
|
# when: is_mitogen
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
# - assert:
|
|
|
|
that:
|
|
|
|
# that:
|
|
|
|
- out.stdout == 'mitogen__require_tty_pw_required'
|
|
|
|
# - out.stdout == 'mitogen__require_tty_pw_required'
|
|
|
|
when: is_mitogen
|
|
|
|
# when: is_mitogen
|
|
|
|