mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 00:28:33 +01:00
fix: dubious ownership clone error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user