luseradd defaults to creating w/o need for -m (#32411)


			
			
				pull/32447/head
			
			
		
Matt Davis 8 years ago
parent 5398d653ca
commit 8ae0079ef7

@ -102,6 +102,8 @@ Ansible Changes By Release
https://github.com/ansible/ansible/pull/32262
* Clarified package docs on 'latest' state
https://github.com/ansible/ansible/pull/32397
* Fix issue with user module when local is true
(https://github.com/ansible/ansible/pull/32262 and https://github.com/ansible/ansible/pull/32411)
<a id="2.4.1"></a>

@ -420,10 +420,7 @@ class User(object):
cmd.append(self.password)
if self.createhome:
cmd.append('-m')
if self.local:
cmd.append('-M')
else:
if not self.local:
cmd.append('-m')
if self.skeleton is not None:

Loading…
Cancel
Save