diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2022-11-02 07:24:28 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2022-12-05 10:52:49 +0000 |
commit | 7ebad0a8164345ebf6b93b028ae7ef3b56ecabf4 (patch) | |
tree | f285829dabb0fd9bfdece3472373bb9d7de9d3f4 /onap-oom-postinstall.yaml | |
parent | a43be446c10a58f5a7aea91851b4c74b9ee3d3af (diff) |
Release oom-automatic-installation
Issue-ID: INT-2150
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I8992f93e2b79f17c90d8f3c350891e8428ef3dcb
Diffstat (limited to 'onap-oom-postinstall.yaml')
-rw-r--r-- | onap-oom-postinstall.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/onap-oom-postinstall.yaml b/onap-oom-postinstall.yaml new file mode 100644 index 0000000..1f203f3 --- /dev/null +++ b/onap-oom-postinstall.yaml @@ -0,0 +1,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 |