fixing incorrect username, not what was requested

https://github.com/stationgroup/ansible-experiments/issues/13#issue-361852126

This is still missing `vagrant`.
This commit is contained in:
Bryan Black 2018-10-08 17:29:28 -07:00 committed by GitHub
parent 81ad87f241
commit 81d6d4e8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
remove: yes
no_log: False
with_items: "{{ users }}"
when: item.name != 'freebsd' and ansible_os_family == 'Debian'
when: item.name != 'ec2-user' and ansible_os_family == 'Debian'
- name: Add/Remove user(s) on FreeBSD systems
user: