blob: 1f203f3e1510eb851da650a27679989845ae4594 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
- hosts: kube-node
gather_facts: "no"
tasks:
- name: gather facts
setup:
when: gather_nodes_fact
- hosts: kube-master
run_once: "yes"
vars_files:
- "vars/ddf.yml"
- "vars/pdf.yml"
pre_tasks:
- name: check if openstack_infos exists
ansible.builtin.stat:
path: "{{ base_dir }}/vars/openstack_infos.yml"
delegate_to: localhost
register: stat
- name: include user clouds info
include_vars: "{{ base_dir }}/vars/openstack_infos.yml"
when: stat.stat.exists
roles:
- oom_generate_artifacts
|