aboutsummaryrefslogtreecommitdiffstats
path: root/onap-oom-postconfigure.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'onap-oom-postconfigure.yaml')
-rw-r--r--onap-oom-postconfigure.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/onap-oom-postconfigure.yaml b/onap-oom-postconfigure.yaml
new file mode 100644
index 0000000..416d88c
--- /dev/null
+++ b/onap-oom-postconfigure.yaml
@@ -0,0 +1,18 @@
+---
+- 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_postconfigure