Skip to content

Commit 558b11a

Browse files
committed
Merge branch 'master' of github.com:geotribu/infra
2 parents a862d7f + 253bd6a commit 558b11a

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

.github/workflows/ansible-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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

.pre-commit-config.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude: "node_modules|migrations|.venv|.direnv|tests/dev/|tests/fixtures/"
44
fail_fast: false
55
repos:
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:
@@ -62,7 +59,7 @@ repos:
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

ansible/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ansible-core>=2.18.7,<2.19
1+
ansible-core>=2.18.7,<2.21
22
ansible-lint>=25.6.1,<26

ansible/roles/cdn.geotribu.fr/tasks/main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,14 @@
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"

0 commit comments

Comments
 (0)