Newer
Older
pre_tasks:
- name: Require minimal ansible version
assert:
"Please use Ansible 2.7 or higher to bootstrap your OAS cluster."
- name: Release name must start with lower case
"Release name ({{ release_name }}) should start with lower case."
- name: cluster_dir variable is needed
assert:
that: "cluster_dir is defined"
msg: >
"Please define the variable `cluster_dir`."
# We use `mitogen_linear` as default strategy. However,
# mitogen fails installing the `openshift` python module as requirement
# for the `k8s` ansible resource, and using `k8s` in the same context.
# That's why we use the standard `linear` ansible strategy for this role.

Maarten de Waard
committed
# See https://open.greenhost.net/openappstack/openappstack/issues/102
- name: Install control shell
hosts: master
tasks:
- name: Run everything
block:
- import_role:
name: get_control
tags: ['get_control']
- import_role:
name: rke_configuration
tags: ['rke_configuration']
- import_role:
name: setup
tags: ['setup']
- import_role:
name: apps
tags: ['apps']
- import_role:
name: local-flux
tags: ['flux']
- import_role:
name: finalize
tags: ['finalize']