mirror of https://github.com/ansible/ansible.git
Code was adding '-a' even when the user was already in the desired groups causing usermod to fail since there was no '-G' option. This is duplicate code (3 lines) from the 'group' section, so could be improved, but it works.
parent
d6e56dee87
commit
6a4e8d7f4c
Loading…
Reference in New Issue