vhost_update: just revert the case issue until later

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-01-27 16:26:46 -08:00
parent 043efd038b
commit 7799cc2478

View file

@ -7,10 +7,10 @@
---
- name: Find instances
vars_prompt:
- name: Target
- name: target
prompt: What is the target vhost
private: false
hosts: "{{ Target }}"
hosts: "{{ target }}"
gather_facts: false
user: root
@ -24,13 +24,13 @@
with_items: '{{vmlist.list_vms}}'
- name: Add the vmhost to target group
local_action: add_host hostname={{ Target }} groupname=Target
local_action: add_host hostname={{ target }} groupname=target
# Call out to another playbook. Disable any proxies that may live here
# - include_playbook: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies
- name: Set downtime
hosts: "Target:myvms_new"
hosts: "target:myvms_new"
gather_facts: false
user: root
serial: 1
@ -45,7 +45,7 @@
when: nonagios is not defined or not "true" in nonagios
- name: Update the system
hosts: "Target:myvms_new"
hosts: "target:myvms_new"
gather_facts: true
user: root
@ -78,7 +78,7 @@
when: package_excludes is defined
- name: Run rkhunter if installed
hosts: "Target:myvms_new"
hosts: "target:myvms_new"
user: root
tasks: