WIP: Create page for storage boxes
This commit is contained in:
parent
ab9fa7e008
commit
e5e1fd1b16
2 changed files with 28 additions and 17 deletions
|
@ -8,10 +8,20 @@
|
|||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
tags: facts
|
||||
when: inventory_hostname not in groups.storage_boxes
|
||||
|
||||
- name: Set facts for storage storage boxes
|
||||
ansible.builtin.set_fact:
|
||||
ansible_date_time:
|
||||
date: "{{ '%Y-%m-%d' | strftime }}"
|
||||
time: "{{ '%H:%M:%S' | strftime }}"
|
||||
when: inventory_hostname in groups.storage_boxes
|
||||
|
||||
- name: Create hypervisor items
|
||||
ansible.builtin.import_tasks: hypervisor.yml
|
||||
when: "'qemu-system-x86' in ansible_facts.packages"
|
||||
when:
|
||||
- "'qemu-system-x86' in ansible_facts.packages"
|
||||
- "inventory_hostname not in groups.storage_boxes"
|
||||
tags:
|
||||
- hypervisor
|
||||
- server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue