fix(security): remove root password, pin image versions, update compose package
This commit is contained in:
1 parent
3a3b6914db
commit
5431e50d1c
5 files changed
+19
-12
No files matched your search
@@ -13,7 +13,7 @@
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- docker.io
|
||||
- docker-compose
|
||||
- docker-compose-v2
|
||||
state: present
|
||||
|
||||
- name: Включить и запустить службу Docker
|
||||
@@ -34,6 +34,14 @@
|
||||
- "{{ vaultwarden_data_dir }}"
|
||||
- "{{ infisical_data_dir }}"
|
||||
|
||||
- name: Проверить наличие обязательных секретов Infisical
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- infisical_postgres_password is defined and infisical_postgres_password | length > 0
|
||||
- infisical_encryption_key is defined and infisical_encryption_key | length > 0
|
||||
- infisical_auth_secret is defined and infisical_auth_secret | length > 0
|
||||
fail_msg: "Один или несколько обязательных секретов (INFISICAL_POSTGRES_PASSWORD, INFISICAL_ENCRYPTION_KEY, INFISICAL_AUTH_SECRET) не переданы через переменные окружения!"
|
||||
|
||||
- name: Установить compose.yaml для core-secrets
|
||||
ansible.builtin.template:
|
||||
src: compose.yaml.j2
|
||||
|
||||
Reference in new issue
Block a user