Compare commits
2 Commits
93ee384dfa
...
23aa518c60
Author | SHA1 | Date | |
---|---|---|---|
23aa518c60 | |||
c6dc80b1ee |
4
.github/workflows/infra.yaml
vendored
4
.github/workflows/infra.yaml
vendored
@ -33,9 +33,7 @@ jobs:
|
||||
|
||||
- name: Check playbooks
|
||||
run: |
|
||||
for file in $(find . -wholename "*/infra/*playbook.yaml" -type f); do
|
||||
ansible-playbook --inventory ./inventory --syntax-check "$file"
|
||||
done
|
||||
ansible-playbook --inventory ./inventory --syntax-check $(find . -wholename "*/infra/*playbook.yaml" -type f)
|
||||
|
||||
- name: Get changed playbooks
|
||||
id: files
|
||||
|
@ -28,6 +28,7 @@
|
||||
number: 1
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: Create data filesystem
|
||||
community.general.filesystem:
|
||||
dev: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1-part1
|
||||
|
@ -14,6 +14,7 @@
|
||||
- python3-apt
|
||||
- gpg
|
||||
become: true
|
||||
|
||||
- name: Add docker key
|
||||
ansible.builtin.apt_key:
|
||||
url: https://download.docker.com/linux/debian/gpg
|
||||
|
@ -52,7 +52,6 @@
|
||||
regexp: "DB_PASSWORD_VALUE"
|
||||
replace: "{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',
|
||||
path='/solidtime', secret_name='DB_PASSWORD')['value'] }}"
|
||||
|
||||
- name: Replace DB Password secret (db)
|
||||
ansible.builtin.replace:
|
||||
path: "$HOME/{{ app }}/.env"
|
||||
|
Loading…
x
Reference in New Issue
Block a user