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
9a54cda6f2
commit
27b562fce8
Loading…
Reference in New Issue