From 7ebad0a8164345ebf6b93b028ae7ef3b56ecabf4 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 2 Nov 2022 07:24:28 +0000 Subject: Release oom-automatic-installation Issue-ID: INT-2150 Signed-off-by: Michal Jagiello Change-Id: I8992f93e2b79f17c90d8f3c350891e8428ef3dcb --- onap-oom-postconfigure.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 onap-oom-postconfigure.yaml (limited to 'onap-oom-postconfigure.yaml') 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 -- cgit 1.2.3-korg