fix: dubious ownership clone error

This commit is contained in:
2023-05-11 19:56:02 +02:00
parent 91c132fb1d
commit 59010c64ba

View File

@@ -21,6 +21,17 @@
line: " flow.redirect_uri = url_for('_oidc_callback', _external=True, _scheme='https')"
backup: yes
- name: Set owner in case git already exists and has bad ownership
file:
path: /var/www/{{ item }}/
owner: root
group: root
recurse: true
with_items:
- python-flask-picture-factory
- simple-log-server
- soundlib-interface
- name: Set mode /usr/local/lib/ (python libraries)
file:
path: /usr/local/lib/
@@ -36,6 +47,17 @@
- simple-log-server
- soundlib-interface
- name: Reset Ownership to www-data
file:
path: /var/www/{{ item }}/
owner: www-data
group: www-data
recurse: true
with_items:
- python-flask-picture-factory
- simple-log-server
- soundlib-interface
- name: Deploy OIDC config (config)
template:
src: oidc_config.json.j2