diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-07-05 06:29:09 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-07-05 06:29:09 +0200 |
commit | 2c3f1522274c09f7cfdb6309adc0719f05c188e9 (patch) | |
tree | e54e0c26f581543f48e945f186734e4bd9a8f15a /playbooks | |
parent | 8af0865a3a3ef783b36016c17598adc9d932981d (diff) | |
download | ands-2c3f1522274c09f7cfdb6309adc0719f05c188e9.tar.gz ands-2c3f1522274c09f7cfdb6309adc0719f05c188e9.tar.bz2 ands-2c3f1522274c09f7cfdb6309adc0719f05c188e9.tar.xz ands-2c3f1522274c09f7cfdb6309adc0719f05c188e9.zip |
Update monitoring scripts to track leftover OpenVSwitch 'veth' interfaces and clean them up pereodically to avoid performance degradation, split kickstart
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/openshift-add-project.yml | 31 |
1 files changed, 31 insertions, 0 deletions
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 }}" + |