c1378c4407
This change implements an OpenShift resource provider. The driver currently supports project request and pod request to enable both containers as machine and native containers workflow. Depends-On: https://review.openstack.org/608610 Change-Id: Id3770f2b22b80c2e3666b9ae5e1b2fc8092ed67c
33 lines
690 B
YAML
33 lines
690 B
YAML
- name: Configure a multi node environment
|
|
hosts: all
|
|
tasks:
|
|
- name: Set up multi-node firewall
|
|
include_role:
|
|
name: multi-node-firewall
|
|
|
|
- name: Set up multi-node firewall
|
|
include_role:
|
|
name: multi-node-hosts-file
|
|
|
|
- hosts: launcher
|
|
roles:
|
|
- role: bindep
|
|
tasks:
|
|
- name: Ensure nodepool services directories
|
|
file:
|
|
path: '{{ ansible_user_dir }}/{{ item }}'
|
|
state: directory
|
|
with_items:
|
|
- work/logs/nodepool
|
|
- work/etc
|
|
- work/images
|
|
|
|
- name: Ensure oc client is installed
|
|
package:
|
|
name: origin-clients
|
|
become: yes
|
|
|
|
- hosts: cluster
|
|
roles:
|
|
- install-openshift
|