vhost_update: Changing the variable to be upper cased here seems to break / need renaming all the rest of them
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
22a61065b2
commit
043efd038b
1 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@
|
||||||
- name: Target
|
- name: Target
|
||||||
prompt: What is the target vhost
|
prompt: What is the target vhost
|
||||||
private: false
|
private: false
|
||||||
hosts: "{{ target }}"
|
hosts: "{{ Target }}"
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
|
@ -24,13 +24,13 @@
|
||||||
with_items: '{{vmlist.list_vms}}'
|
with_items: '{{vmlist.list_vms}}'
|
||||||
|
|
||||||
- name: Add the vmhost to target group
|
- 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
|
# Call out to another playbook. Disable any proxies that may live here
|
||||||
# - include_playbook: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies
|
# - include_playbook: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies
|
||||||
|
|
||||||
- name: Set downtime
|
- name: Set downtime
|
||||||
hosts: "target:myvms_new"
|
hosts: "Target:myvms_new"
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
user: root
|
user: root
|
||||||
serial: 1
|
serial: 1
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
when: nonagios is not defined or not "true" in nonagios
|
when: nonagios is not defined or not "true" in nonagios
|
||||||
|
|
||||||
- name: Update the system
|
- name: Update the system
|
||||||
hosts: "target:myvms_new"
|
hosts: "Target:myvms_new"
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
when: package_excludes is defined
|
when: package_excludes is defined
|
||||||
|
|
||||||
- name: Run rkhunter if installed
|
- name: Run rkhunter if installed
|
||||||
hosts: "target:myvms_new"
|
hosts: "Target:myvms_new"
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue