|
|
@ -5,17 +5,18 @@
|
|
|
|
any_errors_fatal: true
|
|
|
|
any_errors_fatal: true
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Verify we can login to a non-passworded requiretty account
|
|
|
|
# TODO: https://github.com/dw/mitogen/issues/692
|
|
|
|
shell: whoami
|
|
|
|
# - name: Verify we can login to a non-passworded requiretty account
|
|
|
|
become: true
|
|
|
|
# shell: whoami
|
|
|
|
become_user: mitogen__require_tty
|
|
|
|
# become: true
|
|
|
|
register: out
|
|
|
|
# become_user: mitogen__require_tty
|
|
|
|
when: is_mitogen
|
|
|
|
# register: out
|
|
|
|
|
|
|
|
# when: is_mitogen
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
# - assert:
|
|
|
|
that:
|
|
|
|
# that:
|
|
|
|
- out.stdout == 'mitogen__require_tty'
|
|
|
|
# - out.stdout == 'mitogen__require_tty'
|
|
|
|
when: is_mitogen
|
|
|
|
# when: is_mitogen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------
|
|
|
|
# ---------------
|
|
|
|