From ac80bf12f0d6a8ad3fd62e18b34add41059af927 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 17 Apr 2018 13:35:41 +0000 Subject: [PATCH] tests: start making osx_setup.yml more generic --- tests/ansible/osx_setup.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ansible/osx_setup.yml b/tests/ansible/osx_setup.yml index 02717182..d120f521 100644 --- a/tests/ansible/osx_setup.yml +++ b/tests/ansible/osx_setup.yml @@ -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: