Обновление конфигурации Ansible: добавлены новые пресеты, улучшен Makefile, добавлена документация

This commit is contained in:
Сергей Антропов
2025-10-25 10:11:17 +03:00
parent c99df83bad
commit 60ee5e90a5
21 changed files with 1193 additions and 147 deletions

View File

@@ -10,12 +10,12 @@
tasks:
- name: Install collections
community.docker.docker_container_exec:
container: ansible
container: ansible-controller
command: bash -lc "ansible-galaxy collection install -r /ansible/requirements.yml --force --no-deps --upgrade >/dev/null 2>&1 || true"
- name: Decrypt vault targets (best-effort)
community.docker.docker_container_exec:
container: ansible
container: ansible-controller
command: >
bash -lc '
set -euo pipefail;
@@ -29,7 +29,7 @@
- name: Run external playbook (your lab play)
community.docker.docker_container_exec:
container: ansible
container: ansible-controller
command: >
bash -lc "
ANSIBLE_ROLES_PATH=/ansible/roles
@@ -38,7 +38,7 @@
- name: Re-encrypt vault targets (always)
community.docker.docker_container_exec:
container: ansible
container: ansible-controller
command: >
bash -lc '
set -euo pipefail;