Skip to content

Commit

Permalink
various: cleanup permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Feb 13, 2024
1 parent 69cc0f7 commit 1e98f9d
Show file tree
Hide file tree
Showing 36 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion roles/a_train/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
dest: "{{ a_train_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/adguardhome/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
dest: '{{ adguardhome_config_path }}'
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true

- name: Create Docker container
Expand Down
4 changes: 2 additions & 2 deletions roles/airdcpp/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
dest: /opt/airdcpp/WebServer.xml
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true
when: not webserver_xml.stat.exists

Expand All @@ -46,7 +46,7 @@
dest: /opt/airdcpp/DCPlusPlus.xml
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true
when: not dcplusplus_xml.stat.exists

Expand Down
2 changes: 1 addition & 1 deletion roles/alltube/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
dest: "{{ lookup('vars', role_name + '_paths_location') }}/config.example.yml"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true

- name: Create Docker container
Expand Down
2 changes: 1 addition & 1 deletion roles/dashy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
dest: "{{ dashy_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Create Docker container
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/create_docker_container.yml"
4 changes: 2 additions & 2 deletions roles/filebrowser/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
dest: "{{ filebrowser_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: "Settings | Check if '{{ filebrowser_paths_db_location | basename }}' exists"
ansible.builtin.stat:
Expand All @@ -37,4 +37,4 @@
dest: "{{ filebrowser_paths_db_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/firefox/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
dest: "{{ firefox_paths_env_file_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: false

- name: Docker Devices Task
Expand Down
2 changes: 1 addition & 1 deletion roles/glances_web/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
dest: "{{ glances_web_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/homeassistant/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
dest: "{{ homeassistant_paths_conf }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Create Docker container
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/create_docker_container.yml"
Expand Down
10 changes: 5 additions & 5 deletions roles/homepage/tasks/subtasks/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,36 @@
dest: "{{ homepage_paths_location }}/config"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: "Settings | Import docker.yaml"
ansible.builtin.template:
src: docker.yaml.j2
dest: '{{ homepage_paths_location }}/config/docker.yaml'
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Settings | Import services.yaml`
ansible.builtin.copy:
src: services.yaml
dest: "{{ homepage_paths_location }}/config"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: "Settings | Import settings.yaml"
ansible.builtin.template:
src: settings.yaml.j2
dest: '{{ homepage_paths_location }}/config/settings.yaml'
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Settings | Import widgets.yaml`
ansible.builtin.copy:
src: widgets.yaml
dest: "{{ homepage_paths_location }}/config"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/invoiceninjav5/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
dest: '{{ invoiceninjav5_conf_path }}'
owner: "{{ user.name }}"
group: "invoiceninja"
mode: "0775"
mode: "0664"
force: yes
when: not invoiceninjav5_config.stat.exists

Expand Down
2 changes: 1 addition & 1 deletion roles/kcptun_client/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
force: yes
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
when: not kcptun_config.stat.exists

- name: Create and start container
Expand Down
2 changes: 1 addition & 1 deletion roles/kcptun_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
force: yes
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
when: not kcptun_config.stat.exists

- name: Create and start container
Expand Down
2 changes: 1 addition & 1 deletion roles/logarr/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
dest: "{{ logarr_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/membarr/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
dest: "{{ membarr_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/mqtt/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
dest: "{{ mqtt_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

when: (not mqtt_config.stat.exists) and (not continuous_integration)

Expand Down
2 changes: 1 addition & 1 deletion roles/nabarr/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
dest: "{{ nabarr_paths_location }}/config.yml.sample"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/notifiarr/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@
dest: "{{ notifiarr_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/olivetin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
dest: "{{ olivetin_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
when: not olivetin_config.stat.exists

- name: Create Docker container
Expand Down
2 changes: 1 addition & 1 deletion roles/omegabrr/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
dest: "{{ omegabrr_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: yes

- name: Create Docker container
Expand Down
2 changes: 1 addition & 1 deletion roles/plex_auto_languages/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
dest: "{{ plex_auto_languages_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
when: not plex_auto_languages_config.stat.exists

- name: Remove existing Docker container
Expand Down
2 changes: 1 addition & 1 deletion roles/plex_autoscan/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
dest: /opt/plex_autoscan/config/config.json
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true

- name: Settings | Existing 'config.json' tasks
Expand Down
2 changes: 1 addition & 1 deletion roles/plex_dupefinder/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
dest: /opt/plex_dupefinder/config.json
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: false

- name: Set plex_dupefinder.py as executable
Expand Down
2 changes: 1 addition & 1 deletion roles/plex_meta_manager/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
dest: "{{ plex_meta_manager_paths_location }}/config.yml.template"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: yes
validate_certs: no
ignore_errors: true
Expand Down
2 changes: 1 addition & 1 deletion roles/plex_patrol/tasks/main2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
dest: "/opt/{{ plex_name }}_patrol/settings.ini"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true
when: not plex_patrol_config.stat.exists

Expand Down
2 changes: 1 addition & 1 deletion roles/privatebin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
owner: "{{ user.name }}"
group: "{{ user.name }}"
validate_certs: false
mode: "0775"
mode: "0664"
force: true
when: not conf_php.stat.exists

Expand Down
2 changes: 1 addition & 1 deletion roles/python_plexlibrary/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
dest: "/opt/python-plexlibrary/config.yml"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: false
when: not python_plexlibrary_config.stat.exists

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Post-Install | Settings | Update CSRFProtection 'qbittorrentvpn.conf' config settings
community.general.ini_file:
Expand All @@ -29,7 +29,7 @@
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Post-Install | Settings | Generate Password Hash
qbittorrent_passwd:
Expand All @@ -45,7 +45,7 @@
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Post-Install | Settings | Set qBittorrent 'WebUI\Password_PBKDF2'
community.general.ini_file:
Expand All @@ -56,4 +56,4 @@
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/rflood/tasks/subtasks/post-install/settings/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
state: present
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
loop: "{{ rflood_config_rflood_rc_settings_list }}"
2 changes: 1 addition & 1 deletion roles/sabthrottle/tasks/subtasks/pre-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
dest: "{{ sabthrottle_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: true
2 changes: 1 addition & 1 deletion roles/sarotate/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
dest: "{{ sarotate_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Import sarotate service
ansible.builtin.template:
Expand Down
2 changes: 1 addition & 1 deletion roles/sshwifty/tasks/subtasks/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
dest: "{{ sshwifty_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
2 changes: 1 addition & 1 deletion roles/telegraf/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
dest: "/opt/telegraf/telegraf.conf"
owner: "{{ uid }}"
group: "{{ gid }}"
mode: "0775"
mode: "0664"
when: not telegraf_conf.stat.exists

- name: Create and start telegraf container
Expand Down
2 changes: 1 addition & 1 deletion roles/trackarr/tasks/subtasks/pre-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
dest: "{{ trackarr_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: false

- name: Pre-Install | Set 'trackarr_docker_state' variable
Expand Down
2 changes: 1 addition & 1 deletion roles/varken/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@
dest: /opt/varken/varken.ini
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"
force: yes
2 changes: 1 addition & 1 deletion roles/vaultwarden/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
dest: "{{ vaultwarden_paths_config_location }}"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: "0775"
mode: "0664"

- name: Create Docker container
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/create_docker_container.yml"

0 comments on commit 1e98f9d

Please sign in to comment.