File tree Expand file tree Collapse file tree 5 files changed +21
-13
lines changed
roles/cdn.geotribu.fr/tasks Expand file tree Collapse file tree 5 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919
2020 - name : Checkout repository
21- uses : actions/checkout@v5
21+ uses : actions/checkout@v6
2222
2323 - name : Run ansible-lint
2424 uses : ansible/ansible-lint@main
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - uses : actions/checkout@v5
17+ - uses : actions/checkout@v6
1818
1919 - name : Run ShellCheck
2020 uses : ludeeus/action-shellcheck@master
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ exclude: "node_modules|migrations|.venv|.direnv|tests/dev/|tests/fixtures/"
44fail_fast : false
55repos :
66 - repo : https://github.com/pre-commit/pre-commit-hooks
7- rev : v5 .0.0
7+ rev : v6 .0.0
88 hooks :
99 - id : check-added-large-files
1010 args :
@@ -19,36 +19,33 @@ repos:
1919 - id : detect-private-key
2020 - id : end-of-file-fixer
2121 - id : fix-byte-order-marker
22- - id : fix-encoding-pragma
23- args :
24- - --remove
2522 - id : trailing-whitespace
2623 args :
2724 - --markdown-linebreak-ext=md
2825
2926 - repo : https://github.com/asottile/pyupgrade
30- rev : v3.19.1
27+ rev : v3.20.0
3128 hooks :
3229 - id : pyupgrade
3330 args :
3431 - " --py310-plus"
3532
36- - repo : https://github.com/psf/black
37- rev : 25.1 .0
33+ - repo : https://github.com/psf/black-pre-commit-mirror
34+ rev : 25.9 .0
3835 hooks :
3936 - id : black
4037 args :
4138 - --target-version=py310
4239
4340 - repo : https://github.com/astral-sh/ruff-pre-commit
44- rev : " v0.11.4 "
41+ rev : " v0.13.3 "
4542 hooks :
4643 - id : ruff
4744 args :
4845 - --fix-only
4946
5047 - repo : https://github.com/pycqa/isort
51- rev : 6.0.1
48+ rev : 6.1.0
5249 hooks :
5350 - id : isort
5451 args :
6259 - id : yamllint
6360
6461 - repo : https://github.com/ansible/ansible-lint
65- rev : v25.6 .1
62+ rev : v25.9 .1
6663 hooks :
6764 - id : ansible-lint
6865 name : Ansible Lint
Original file line number Diff line number Diff line change 1- ansible-core >= 2.18.7 ,< 2.19
1+ ansible-core >= 2.18.7 ,< 2.21
22ansible-lint >= 25.6.1 ,< 26
Original file line number Diff line number Diff line change 150150 provider : selfsigned
151151 become : true
152152 when : not letsencrypt_enabled | default(false)
153+
154+ - name : Ajouter les droits sur les images fournies par le CDN
155+ tags :
156+ - cdn
157+ - cdn-post
158+ become : true
159+ ansible.builtin.file :
160+ path : " /var/www/{{ geotribu_www }}/{{ cdn_subdomain }}/images/"
161+ owner : www-data
162+ group : www-data
163+ mode : " 0644"
You can’t perform that action at this time.
0 commit comments