mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 20:47:21 +00:00
Remove need to always gather facts even when mismatched tags
This commit is contained in:
1 parent
12f7cc3aca
commit
39722402f5
1 file changed
+14
-5
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: CheckMK Agent
|
- name: CheckMK Agent
|
||||||
hosts: "meta-win_project_{{ win_project }}:&meta-os_windows"
|
hosts: "meta-win_project_{{ win_project }}:&meta-os_windows"
|
||||||
|
gather_facts: false
|
||||||
collections:
|
collections:
|
||||||
- checkmk.general
|
- checkmk.general
|
||||||
vars_files:
|
vars_files:
|
||||||
@@ -9,11 +10,19 @@
|
|||||||
- ../vars/connection.yml
|
- ../vars/connection.yml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install CheckMK agent on VMs
|
- name: Install CheckMK agent on VMs
|
||||||
import_role:
|
block:
|
||||||
name: agent
|
- name: Gather Facts
|
||||||
tags:
|
setup:
|
||||||
- checkmk
|
tags:
|
||||||
- checkmk_agent
|
- checkmk_all
|
||||||
|
- checkmk_agent
|
||||||
|
|
||||||
|
- name: Install CheckMK agent on VMs
|
||||||
|
import_role:
|
||||||
|
name: agent
|
||||||
|
tags:
|
||||||
|
- checkmk_all
|
||||||
|
- checkmk_agent
|
||||||
|
|
||||||
- name: CheckMK Hosts
|
- name: CheckMK Hosts
|
||||||
hosts: "meta-win_project_{{ win_project }}:&meta-os_windows"
|
hosts: "meta-win_project_{{ win_project }}:&meta-os_windows"
|
||||||
|
|||||||
Reference in new issue
Block a user