Bryan Black 2018-10-08 17:31:22 -07:00 committed by GitHub
parent 81d6d4e8ff
commit 5d4c7f9f55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
path: "/home/{{ item.name }}/.ssh/config"
with_items: "{{ users }}"
register: sshconfig
when: item.name != 'freebsd' and ansible_os_family == 'Debian'
when: item.name != 'ec2-user' and ansible_os_family == 'Debian'
- name: debug
debug: "{{ item.item.name }}"
@ -56,6 +56,6 @@
with_items:
- "{{ users }}"
- skip_missing: true
when: item.ssh_config is defined and item.state == "present" and item.name != 'freebsd' and ansible_os_family == 'Debian'
when: item.ssh_config is defined and item.state == "present" and item.name != 'ec2-user' and ansible_os_family == 'Debian'