diff --git a/app/scripts/ansible/roles/nginx.yml b/app/scripts/ansible/roles/nginx.yml index 48d57232..71063410 100644 --- a/app/scripts/ansible/roles/nginx.yml +++ b/app/scripts/ansible/roles/nginx.yml @@ -71,7 +71,6 @@ owner: "{{ ansible_user }}" group: "{{ ansible_user }}" state: directory - recurse: yes mode: 0771 tags: - system diff --git a/app/scripts/ansible/roles/service_common/tasks/main.yml b/app/scripts/ansible/roles/service_common/tasks/main.yml index b685db3b..99df52eb 100644 --- a/app/scripts/ansible/roles/service_common/tasks/main.yml +++ b/app/scripts/ansible/roles/service_common/tasks/main.yml @@ -117,6 +117,10 @@ name: "{{STATS_USER}}" password: "{{STATS_PASS}}" +- name: set correct permissions to passwd file + ansible.builtin.file: + path: "{{ service_dir }}/status_page_passwdfile" + mode: 0664 - name: test to see if selinux is running command: getenforce