test vault
Some checks failed
Install Ansible / install_ansible (push) Failing after 37s

This commit is contained in:
master of disaster
2025-12-10 23:34:11 +01:00
parent 11f73e0be4
commit ca5fcc77ea
2 changed files with 21 additions and 4 deletions

View File

@@ -43,10 +43,6 @@ jobs:
echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config
env:
SSH_PRIVATE_KEY: ${{ secrets.SSHKEY_B64 }}
- name: Checkout Repository
uses: actions/checkout@v4
submodules: recursive
fetch-depth: 0
# Python 3 installieren, was für pip und Ansible notwendig ist
- name: Set up Python
uses: actions/setup-python@v5

21
ansible.cfg Normal file
View File

@@ -0,0 +1,21 @@
[defaults]
inventory=inventory/raspberries.yaml
roles_path = roles
host_key_checking = False
retry_files_enabled = False
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/ansible_facts
fact_caching_timeout = 3600
remote_user = dietpi
vault_password_file = .vault_pass.txt
ansible_interpreter_python = auto_silent
# [privilege_escalation]
# become = True
# become_method = sudo
# # become_user = root
# # become_ask_pass = False
[ssh_connection]
pipelining = True
control_path = /tmp/ansible-ssh-%%h-%%p-%%r