Use valid value for CREATE_HOME
At the moment we pass boolean value to CREATE_HOME instead of yes/no. Leveraging ternary allows to always supply expected values despite of variable type in ansible. Closes-Bug: #1850200 Change-Id: I957dc9b98f1de23ea66ea0e225989e4f907a02cb
This commit is contained in:
parent
9d7f0ad471
commit
510a0778a7
@ -305,7 +305,7 @@ shadow_utils_rhel7:
|
||||
stig_id: V-71995
|
||||
os_family: all
|
||||
- parameter: CREATE_HOME
|
||||
value: "{{ security_shadow_utils_create_home | default('') }}"
|
||||
value: "{{ security_shadow_utils_create_home | bool | ternary('yes', 'no') }}"
|
||||
stig_id: V-72013
|
||||
os_family: all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user