Commit graph ansible-infra/roles/ansible_pull/templates/ansible-pull.service.j2
Author SHA1 Message Date
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
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