Fix permissions

This commit is contained in:
Patrick Neff 2022-07-08 23:44:53 +02:00
parent c9c4e959ae
commit 878eea569f
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ netbox_path }}" path: "{{ netbox_path }}"
state: directory state: directory
mode: 0700 mode: 0755
owner: "{{ netbox_user }}" owner: "{{ netbox_user }}"
group: "{{ netbox_group }}" group: "{{ netbox_group }}"
@ -58,7 +58,7 @@
dest: "{{ netbox_path }}/netbox/netbox/configuration.py" dest: "{{ netbox_path }}/netbox/netbox/configuration.py"
owner: "{{ netbox_user }}" owner: "{{ netbox_user }}"
group: "{{ netbox_user }}" group: "{{ netbox_user }}"
mode: 0600 mode: 0644
- name: Run update script. - name: Run update script.
become: true become: true