freebsd fix
This commit is contained in:
parent
e0f1ab4984
commit
b4cd66f75d
|
@ -5,6 +5,13 @@
|
|||
with_items: "{{ users }}"
|
||||
register: sshconfig
|
||||
when: item.name != 'ec2-user' and ansible_os_family == 'Debian'
|
||||
|
||||
- name: Check if user has ~/.ssh/config | FreeBSD systems.
|
||||
stat:
|
||||
path: "/home/{{ item.name }}/.ssh/config"
|
||||
with_items: "{{ users }}"
|
||||
register: sshconfig
|
||||
when: item.name != 'ubuntu' and ansible_os_family == 'FreeBSD'
|
||||
|
||||
- name: debug
|
||||
debug: "{{ item.item.name }}"
|
||||
|
|
Loading…
Reference in a new issue