Salt
5b12eb5af2
This playbook *should* assure that we have a file we can use for checking when the last full play was. It being in a playbook at the tail end of site.yml is paramount, since site.yml dying will cause alarms to be set off.
13 lines
322 B
YAML
Executable File
13 lines
322 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
# Preambulatory system configuration
|
|
- hosts: all
|
|
tasks:
|
|
- name: collect service facts
|
|
service_facts:
|
|
tags: [ always ]
|
|
- name: touch ansible timestamp file
|
|
file: path=/var/lib/ansible-last-run state=touch mode='0644'
|
|
changed_when: no
|