Main repository to execute ansible playbooks
Go to file
2025-10-28 14:27:47 +01:00
files optimized webuntil getbearer loading directly school login 2025-10-20 11:33:55 +02:00
inventory added missing property 2025-10-28 14:27:47 +01:00
playbooks added keycloak 2025-10-28 11:51:47 +01:00
roles/common/tasks fixed container config 2025-02-21 12:52:47 +01:00
secrets added keycloak credentials 2025-10-28 12:00:51 +01:00
templates added keycloak 2025-10-28 11:51:47 +01:00
.gitignore
LICENSE
README.md
requirements.yml limited community version 2025-10-28 14:24:21 +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