From 01f0f37691aa69f6a529bb87a2092cbabefddd38 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Wed, 6 May 2026 12:55:54 +0200 Subject: [PATCH] chore(ansible): add per-collection ansible.cfg + drop trailing whitespace ansible/arcodange/factory/ansible.cfg sets collections_path so ansible commands run from inside the collection directory still find user-installed collections under ~/.ansible/collections. Co-Authored-By: Claude Opus 4.7 (1M context) --- ansible/arcodange/factory/ansible.cfg | 5 +++++ .../arcodange/factory/playbooks/tools/hashicorp_vault.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ansible/arcodange/factory/ansible.cfg diff --git a/ansible/arcodange/factory/ansible.cfg b/ansible/arcodange/factory/ansible.cfg new file mode 100644 index 0000000..427c2a0 --- /dev/null +++ b/ansible/arcodange/factory/ansible.cfg @@ -0,0 +1,5 @@ +[defaults] +collections_path = ~/.ansible/collections + +[ssh_connection] +scp_if_ssh = True diff --git a/ansible/arcodange/factory/playbooks/tools/hashicorp_vault.yml b/ansible/arcodange/factory/playbooks/tools/hashicorp_vault.yml index c53634a..82427b9 100644 --- a/ansible/arcodange/factory/playbooks/tools/hashicorp_vault.yml +++ b/ansible/arcodange/factory/playbooks/tools/hashicorp_vault.yml @@ -8,7 +8,7 @@ - name: gitea_admin_password prompt: Enter gitea admin password unsafe: true # password can contain uncommon chars such as '{' - + roles: - arcodange.factory.gitea_token