blob: 52bcf42c02cb66f5f1f510a4c26cbffd94224532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: Verify Requirements
hosts: oo_first_master
roles:
- role: lib_utils
tasks:
# sanity_checks is a custom action plugin defined in lib_utils.
# This module will loop through all the hostvars for each host
# specified in check_hosts.
# Since sanity_checks is an action_plugin, it executes on the control host.
# Thus, sanity_checks cannot gather new information about any hosts.
- name: Run variable sanity checks
sanity_checks:
check_hosts: "{{ groups['oo_all_hosts'] }}"
run_once: True
|