You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [CentOS7-CIS : SCORED | 5.4.4 | PATCH | Ensure default user umask is 027 or more restrictive] *********************************************************************
failed: [localhost] (item=profiled_dir.files[0].path) => {"ansible_loop_var": "item", "changed": false, "item": "profiled_dir.files[0].path", "msg": "Destination profiled_dir.files.path does not exist !", "rc": 257}
...ignoring
Workaround for centos7cis_default_user_umask changing to 023, run the ansible playbook with variables as command line argument by adding below argument --extra-vars "centos7cis_default_user_umask=027"
which will overpower the internal variable value.
Viewpoint
The structure of the profiled_dir.files is an array of dictionaries. Not sure how to get through this one using ansible at the moment.
The text was updated successfully, but these errors were encountered:
I am still learning ansible and was driven to the above refactoring by the errors provided by ansible. Please enlighten me if this change in syntax is due to the version I am using ansible 2.9.9
Ansible Version - 2.9.9
ISSUE
centos7cis_default_user_umask
changes to 023 instead of 027 when executing. (not sure if it my system specific issue)CentOS7-CIS/tasks/section5.yml
Line 1228 in e1c3814
CentOS7-CIS/tasks/section5.yml
Line 1243 in e1c3814
CentOS7-CIS/tasks/section5.yml
Line 1275 in e1c3814
with error as given below
Workaround for
centos7cis_default_user_umask
changing to 023, run the ansible playbook with variables as command line argument by adding below argument--extra-vars "centos7cis_default_user_umask=027"
which will overpower the internal variable value.
Viewpoint
The structure of the profiled_dir.files is an array of dictionaries. Not sure how to get through this one using ansible at the moment.
The text was updated successfully, but these errors were encountered: