- Python 56.1%
- Jinja 35.5%
- Shell 7.9%
- HTML 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The successful run timestamp exporter didn't work, because the ansible-pull user wouldn't necessarily have the necessary permissions and because the command wouldn't properly work. Move the timestamp export as well as the reboot to separate services, which always run as root, to ensure these operations work and to have a clean setup using systemd services. Also move the successful run timestamp exporter to a custom script to have it work properly. |
||
| .forgejo/workflows | ||
| .vscode | ||
| ansible_collections | ||
| collections | ||
| docs | ||
| inventories | ||
| playbooks | ||
| resources | ||
| roles | ||
| .ansible-lint | ||
| .editorconfig | ||
| .gitignore | ||
| .sops.yaml | ||
| .yamllint.yaml | ||
| ansible.cfg | ||
| docs_requirements.txt | ||
| LICENSE | ||
| mkdocs.yml | ||
| README.md | ||
| renovate.json | ||
| requirements.yml | ||
CCCHH Ansible Repository
Folgende Geräte und Server werden duch dieses Ansible Repository verwaltet:
- Diverse VMs im z9 (PVE Cluster)
- Diverse VMs auf dem Chaosknoten
Host-spezifische Konfigurationsdateien liegen unter resources/ und werden für jeweils über eine host_vars-Datei im Inventory geladen.
Galaxy-Collections und -Rollen
Für einige Aspekte verwenden wir Collections und Rollen aus Ansible Galaxy. Diese werden in ansible_collections bzw. galaxy-roles hier im Repo vorgehalten.
Um unsere gevendorte Version zu aktualisieren, kann man folgendes machen:
ansible-galaxy install -r requirements.yml
ansible-galaxy role install -r requirements.yml
Playbook nur für einzelne Hosts ausführen
Ein paar der Hosts haben den selben Namen, was es etwas schwieriger macht, das Playbook nur für einen der Hosts auszuführen, z. B. public-reverse-proxy. Die Kombination aus --inventory und --limit führt zum Erfolg:
ansible-playbook playbooks/deploy.yaml --inventory inventories/chaosknoten/hosts.yaml --limit public-reverse-proxy
License
This CCCHH ansible-ccchh repository is licensed under the MIT License.
custom_pipeline_oidc_group_and_role_mapping.py is licensed under the Creative Commons: CC BY-SA 4.0 license.