forked from spec-rgdevops/blueprint-fabric8
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoc-setup.yml
More file actions
executable file
·27 lines (24 loc) · 799 Bytes
/
oc-setup.yml
File metadata and controls
executable file
·27 lines (24 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- name: prepare installation
hosts: OSEv3
tasks:
- name: install NetworkManager
yum: name=NetworkManager state=latest
- name: run NetworkManager
service: name=NetworkManager state=started
- include: openshift-ansible/playbooks/byo/config.yml
- name: Install fabric8
vars:
- gofabric8version: 0.4.73
hosts: masters
tasks:
- name: download gofabric8
get_url:
url=https://github.com/fabric8io/gofabric8/releases/download/v{{gofabric8version}}/gofabric8-linux-amd64
dest=/usr/bin/gofabric8
force=yes
mode=744
- name: run gofabric8
shell: "gofabric8 deploy -y --domain={{ openshift_master_default_subdomain }} --app=cd-pipeline"
- name: run gofabric8 secrets
shell: "gofabric8 secrets -y"