Commit graph ansible-infra/roles/ansible_pull
Author SHA1 Message Date
947d8fd0a0
ansible-pull(role): deploy failure notify service using the copy loop
All checks were successful
/ build (pull_request) Successful in 32s
/ build (push) Successful in 37s
/ cleanup-staging (pull_request) Successful in 41s
/ Ansible Lint (pull_request) Successful in 3m47s
/ Ansible Lint (push) Successful in 3m45s
Deploy the ansible-pull-failure-notify.service using the loop using
ansible.builtin.copy as it doesn't have any template logic.
2026-11-04 17:28:05 +01:00
a4a92448dc
ansible-pull(role): have failure notify deploy match other script deploy
Have the deployment of the ansible-pull-failure-notify script match the
deployment of the other helper scripts.
2026-11-04 17:28:05 +01:00
96a7eabbac
ansible-pull(role): move ansible-pull reboot logic to script as well
Do this to unify the way these helper scripts get deployed.
2026-11-04 17:28:05 +01:00
1157c98ff5
ansible-pull(role): make successful run timestamp exporter work
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.
2026-11-04 17:28:03 +01:00
f6f6cc4804 ansible-pull(role): export last successful run timestamp statistic
All checks were successful
/ build (push) Successful in 31s
/ Ansible Lint (push) Successful in 2m39s
Using the node exporter textfile collector, expose the timestamp of the
last successful ansible-pull run.
2026-11-03 19:58:03 +01:00
637dc6b25a
consider ansible-pull jobs failed after 30 minutes
All checks were successful
/ Ansible Lint (pull_request) Successful in 2m27s
/ Ansible Lint (push) Successful in 2m32s
2026-05-13 16:53:57 +02:00
25db54b8ad Make sure pip is installed 2026-01-03 14:02:56 +01:00
dce4e7c4d4
ansible_pull(role): add git as a dependency to ensure is installed
Some checks failed
/ Ansible Lint (push) Failing after 48s
2025-10-16 09:40:34 +02:00
dea66771e0
ansible_pull(role): ensure SOPS is installed
Some checks failed
/ Ansible Lint (push) Failing after 49s
Also add the SOPS community collection as a requirement for this repo.
2025-10-15 02:33:42 +02:00
9afbc71801
ansible_pull(role): ensure role and collection dependencies are present 2025-10-15 02:18:07 +02:00
eadae7a09b
ansible_pull(role): add failure notifications
Some checks failed
/ Ansible Lint (push) Failing after 48s
2025-10-14 22:20:27 +02:00
952fbf85c5
ansible_pull(role): add ExecStartPost step rebooting the hosts, if nec.
Some checks failed
/ Ansible Lint (pull_request) Failing after 48s
/ Ansible Lint (push) Failing after 49s
Add ExecStartPost step rebooting the hosts, if necessary.
2025-10-13 17:23:08 +02:00
434ddfc955
ansible_pull(role): introduce ansible_pull role
Introduce ansible_pull role for setting up automatic ansible_pull runs.
Also add accompanying host group and playbook play.
2025-10-13 16:56:18 +02:00