From 2c3f1522274c09f7cfdb6309adc0719f05c188e9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 5 Jul 2018 06:29:09 +0200 Subject: Update monitoring scripts to track leftover OpenVSwitch 'veth' interfaces and clean them up pereodically to avoid performance degradation, split kickstart --- playbooks/openshift-add-project.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 playbooks/openshift-add-project.yml (limited to 'playbooks/openshift-add-project.yml') diff --git a/playbooks/openshift-add-project.yml b/playbooks/openshift-add-project.yml new file mode 100644 index 0000000..5a027f1 --- /dev/null +++ b/playbooks/openshift-add-project.yml @@ -0,0 +1,31 @@ +- import_playbook: maintain.yml + +- name: Configure users + hosts: masters + roles: + - { role: ands_openshift, subrole: projects } + - { role: ands_openshift, subrole: users } + - { role: ands_openshift, subrole: security } + - { role: ands_openshift, subrole: storage } + + +- name: Configure per-node {{ kaas_single_project }} project storage + hosts: ands_storage_servers, ands_new_storage_servers + roles: + - { role: ands_kaas, subrole: storage } + vars: + kaas_projects: "{{ ands_openshift_projects.keys() }}" + kaas_openshift_volumes: "{{ ands_openshift_volumes }}" + kaas_storage_types: [ 'host' ] + kaas_single_project: "{{ ands_configure_project }}" + + +- name: "Configure project {{ kaas_single_project }}" + hosts: masters + roles: + - { role: ands_kaas } + vars: + kaas_openshift_volumes: "{{ ands_openshift_volumes }}" + kaas_projects: "{{ ands_openshift_projects.keys() }}" + kaas_single_project: "{{ ands_configure_project }}" + -- cgit v1.2.3