This commit is contained in:
2025-08-07 15:51:53 +02:00
parent b8636a6d48
commit 561331b825
6 changed files with 10 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
name: Postgres
on: #[push,pull_request]
workflow_dispatch: {}
push: &tofuPaths
paths:
- 'iac/*.tf'

View File

@@ -3,6 +3,7 @@
name: Postgres
on: #[push,pull_request]
workflow_dispatch: {}
push: &postgresTofuPaths
paths:
- 'postgres/**/*.tf'

View File

@@ -80,7 +80,7 @@ ansible -i ,localhost -c local localhost -m raw -a "echo hello world {{ inventor
#### Install ansible
`uv tool install ansible-core --with dnspython`
`uv tool install ansible-core --with dnspython --with jmespath --with kubernetes`
`echo 'export PATH="~/.local/share/uv/tools/ansible-core/bin:$PATH"' >> ~/.zshenv`
#### Install this project depedencies
@@ -93,5 +93,5 @@ ansible-galaxy collection install --token 11bebd8fd1ad4009f700bdedbeb80b19743ce3
```
ansible-galaxy collection install ./ansible/arcodange/factory -f
ansible-playbook -i ansible/arcodange/factory/inventory ansible/arcodange/factory/playbooks/02_setup.yml
```

View File

@@ -165,11 +165,11 @@
localIp:
ipAllowList:
sourceRange:
- "0.0.0.0/0"
# - "192.168.1.0/24"
# - "{{ ipify_public_ip }}/32"
- "192.168.1.0/24"
- "{{ ipify_public_ip }}/32"
# - "0.0.0.0/0"
# ipStrategy:
# depth: 2
# depth: 1
traefik_helm_values:
deployment:
kind: "Deployment"

View File

@@ -2,7 +2,7 @@
include_tasks: vault_cmd.yml
vars:
vault_cmd: '{{ item.cmd }}'
vault_cmd_output_var: '{{ item.save }}'
vault_cmd_output_var: '{{ item.save | default(false) }}'
vault_cmd_json_attr: '{{ item.json_attr | default("") }}'
vault_cmd_can_fail: '{{ item.can_fail | default(false) }}'

View File

@@ -25,7 +25,7 @@
- name: replace token
when:
- gitea_token_delete or gitea_api_token_cmd.rc != 0
- gitea_token_delete or "'access token name has been used already' in gitea_api_token_cmd.stderr"
- gitea_token_delete or ('access token name has been used already' in gitea_api_token_cmd.stderr)
- gitea_token_delete or gitea_token_replace
- gitea_api_token is defined
block: