I updated ansible to 2.9.12 on aims1 (jenkins master) where I ran ansible-playbook command to install on esgf-dev2.llnl.gov, and got some warning and this error in /var/log/messages:
FAILURE: /etc/grid-security/certificates/ba60fab8.0 not world readable. The trustroots directory /etc/grid-security/certificates has failed sanity checks.
This ansible 2.9.12 seems to change the default behavior when installing files to be more restrictive.
This PR specifies the mode when installing files to avoid some of the warnings.
FAILURE: /etc/grid-security/certificates/ba60fab8.0 not world readable. The trustroots directory /etc/grid-security/certificates has failed sanity checks.
This ansible 2.9.12 seems to change the default behavior when installing files to be more restrictive. This PR specifies the mode when installing files to avoid some of the warnings.
Install completed and services came up -- https://aims1.llnl.gov/jenkins/job/ESGF_Ansible/job/CentOS_7/job/esgf_ansible.esgf-dev2.CentOS7/242/console
b'#1 cog_create_user ... ok' b'#2 cog_root_login ... ok' b'#3 cog_user_login ... ok' b'#4 basic_ping (https://esgf-dev2.llnl.gov/thredds) ... ok' b'#4 basic_ping (https://esgf-dev2.llnl.gov/esg-orp/home.htm) ... ok' b'#5 basic_ping (https://esgf-dev2.llnl.gov/esgf-idp) ... ok' b'#6 basic_ping (https://esgf-dev2.llnl.gov/) ... ok' b'#6 basic_ping (https://esgf-dev2.llnl.gov/solr/#) ... ok' b' basic_ping (https://esgf-dev2.llnl.gov/esg-search/search) ... ok' b' basic_ping (https://esgf-dev2.llnl.gov/esg-orp/home.htm) ... ok' b'#7 slcs_django_admin_login ... ok'