Main repository to execute ansible playbooks
Go to file
2025-01-20 22:29:14 +01:00
files/ssh fixed pub keys 2024-09-12 13:02:18 +02:00
inventory added playbook for n8n 2025-01-20 22:13:53 +01:00
playbooks added playbook for n8n 2025-01-20 22:29:14 +01:00
roles/common/tasks create tasks for cron extension 2024-04-16 15:08:19 +02:00
secrets added keys for harvester 2024-10-18 19:39:41 +02:00
templates add llama playbook and updated nextcloud 2025-01-17 21:35:12 +01:00
.gitignore added nodered-datalogger to playbooks 2024-03-12 16:43:25 +01:00
LICENSE A4UDIA-14147 added git installation 2024-01-26 17:56:00 +01:00
README.md added urbackup configuration 2024-07-22 13:55:53 +02:00
requirements.yml added playbook for n8n 2025-01-20 22:13:53 +01:00

de.lehmann.automation.ansible.main

Ansible automation for proxmox server and tools

Requirements

Some ansible roles are necessary. Run galaxy installer to get the latest role versions

ansible-galaxy install -f -r ./requirements.yml

To get access by ssh ssh config must be adjusted (vi ~/.ssh/config)

Host git.captica.de
  Hostname srvweb01.captica.de
  Port 1122
  User tobiaslehmann
  IdentityFile ~/.ssh/id_ed25519_ansible_container

Be sure the root ssh pub key is already installed. If not and password auth is allowed use "--ask-pass" on ansible-playbook!

Install server

Run playbook to install the serves

ansible-playbook -v -i inventory/hosts.yml --user=root --ask-vault-pass --extra-vars '@secrets/vault.yml' playbooks/captica-automation-nodered-datalogger.yml
ansible-playbook -v -i inventory/hosts.yml --user=root --ask-vault-pass --extra-vars '@secrets/vault.yml' playbooks/captica-webserver.yml
ansible-playbook -v -i inventory/hosts.yml --user=root --ask-vault-pass --extra-vars '@secrets/vault.yml' playbooks/lehmann-bankmanager.yml

or with tags

ansible-playbook -v -i inventory/hosts.yml --tags "install,gitea,gist" --user=root --ask-vault-pass --extra-vars '@secrets/vault.yml' playbooks/captica-webserver.yml