switched to new facts-syntax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Load distro-specific variables
|
||||
- include_vars: "{{ ansible_distribution | lower }}.yml"
|
||||
- include_vars: "{{ ansible_facts['distribution'] | lower }}.yml"
|
||||
tags: always
|
||||
ignore_errors: True
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
- import_tasks: system_setup/disable_standby.yml
|
||||
when: is_proxmox is defined and is_proxmox == true
|
||||
- import_tasks: software/wazuh-agent.yml
|
||||
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint", "Archlinux"]
|
||||
when: ansible_facts['distribution'] in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint", "Archlinux"]
|
||||
- import_tasks: system_setup/disable_standby.yml
|
||||
when: is_proxmox is defined and is_proxmox == true
|
||||
- import_tasks: system_setup/import_stepca.yml
|
||||
|
||||
Reference in New Issue
Block a user