donal
2018-04-06 04eacdcdfc085c3814f188b9f2ac342860a4eb9a
FIX - casl applier for openshift-applier
2 files modified
12 ■■■■ changed files
README.md 6 ●●●● patch | view | raw | blame | history
requirements.yml 6 ●●●● patch | view | raw | blame | history
README.md
@@ -6,13 +6,13 @@
1. Clone this repository.
1. Log on to an OpenShift server `oc login -u <user> https://<server>:<port>/`
1. Install the required [casl-ansible](https://github.com/redhat-cop/casl-ansible) dependency:
1. Install the required [openshift-applier](https://github.com/redhat-cop/openshift-applier) dependency:
```bash
ansible-galaxy install -r requirements.yml --roles-path=roles
```
1. Run the play book using
```bash
ansible-playbook roles/casl-ansible/playbooks/openshift-cluster-seed.yml -i inventory/
ansible-playbook roles/openshift-applier/playbooks/openshift-cluster-seed.yml -i inventory/
```
## Running a Subset of the Inventory
@@ -21,7 +21,7 @@
2. The only required tag to deploy objects within the inventory is **projects**, all other tags are *optional*
2. Here is an example that runs the tags that provision projects, ci, and jenkins objects:
```bash
ansible-playbook roles/casl-ansible/playbooks/openshift-cluster-seed.yml \
ansible-playbook roles/openshift-applier/playbooks/openshift-cluster-seed.yml \
     -i inventory/ \
     -e="filter_tags=jenkins,ci,projects"
```
requirements.yml
@@ -1,8 +1,8 @@
# This is the Ansible Galaxy requirements file to pull in the correct roles
# to support the operation of CASL provisioning/runs.
# From 'casl-ansible'
- src: https://github.com/redhat-cop/casl-ansible
# From 'openshift-applier'
- src: https://github.com/redhat-cop/openshift-applier
  scm: git
  version: v3.7.2
  name: casl-ansible
  name: openshift-applier