diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index f95ba46..38b77f8 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..6ca1c84 --- /dev/null +++ b/ansible.cfg @@ -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 \ No newline at end of file