This commit is contained in:
@@ -43,10 +43,6 @@ jobs:
|
|||||||
echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config
|
echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSHKEY_B64 }}
|
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
|
# Python 3 installieren, was für pip und Ansible notwendig ist
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
|
|||||||
21
ansible.cfg
Normal file
21
ansible.cfg
Normal 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
|
||||||
Reference in New Issue
Block a user