🚑: specific the absolute exclude list to avoid conflicts
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: www-data
|
group: www-data
|
||||||
mode: "a-rwx,u+rwX,g+rX"
|
mode: "a-rwx,u+rwX,g+rX"
|
||||||
exclude: "{{ firefly3_userdata_app_dirs }}"
|
exclude: "{{ firefly3_userdata_app_dirs | map('regex_replace', '^', './') }}"
|
||||||
|
|
||||||
- name: Put config file
|
- name: Put config file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
group: www-data
|
group: www-data
|
||||||
mode: "a-rwx,u+rwX,g+rX"
|
mode: "a-rwx,u+rwX,g+rX"
|
||||||
extra_opts: ['--strip-components=1']
|
extra_opts: ['--strip-components=1']
|
||||||
exclude: "{{ freshrss_userdata_app_dirs }}"
|
exclude: "{{ freshrss_userdata_app_dirs | map('regex_replace', '^', 'FreshRSS-' ~ freshrss_version ~ '/') }}"
|
||||||
|
|
||||||
## Ensure the data dirs exist, populate them if not
|
## Ensure the data dirs exist, populate them if not
|
||||||
- name: Create data home
|
- name: Create data home
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
group: www-data
|
group: www-data
|
||||||
mode: "a-rwx,u+rwX,g+rX"
|
mode: "a-rwx,u+rwX,g+rX"
|
||||||
extra_opts: ['--strip-components=1']
|
extra_opts: ['--strip-components=1']
|
||||||
exclude: "{{ koillection_userdata_app_dirs }}"
|
exclude: "{{ koillection_userdata_app_dirs | map('regex_replace', '^', 'public/') }}"
|
||||||
|
|
||||||
- name: Put config file
|
- name: Put config file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
group: www-data
|
group: www-data
|
||||||
mode: "a-rwx,u+rwX,g+rX"
|
mode: "a-rwx,u+rwX,g+rX"
|
||||||
extra_opts: ['--strip-components=1']
|
extra_opts: ['--strip-components=1']
|
||||||
exclude: "{{ shaarli_userdata_app_dirs }}"
|
exclude: "{{ shaarli_userdata_app_dirs | map('regex_replace', '^', 'Shaarli/') }}"
|
||||||
|
|
||||||
- name: Check writable dirs
|
- name: Check writable dirs
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Reference in New Issue
Block a user