tests: start making osx_setup.yml more generic

This commit is contained in:
David Wilson 2018-04-17 13:35:41 +00:00
parent 16b5aa2d10
commit ac80bf12f0
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#
- hosts: all
gather_facts: true
become: true
tasks:
- name: Disable non-localhost SSH for Mitogen users
@ -44,6 +45,7 @@
- mitogen__require_tty
- mitogen__pw_required
- mitogen__require_tty_pw_required
when: ansible_distribution == 'MacOSX'
- name: Hide test users from login window.
shell: >
@ -53,6 +55,7 @@
HiddenUsersList
-array-add 'mitogen__user{{item}}'
with_sequence: start=1 end=21
when: ansible_distribution == 'MacOSX'
- name: Require a TTY for two accounts
lineinfile: