From c9eb0a1133ed9baf1bfa29c92d875a08b60756c8 Mon Sep 17 00:00:00 2001 From: donal <donalspring@gmail.com> Date: Tue, 17 Apr 2018 19:16:50 +0200 Subject: [PATCH] UPDATE - new playbook layout based on the discussions with Global team --- README.md | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 509a8f5..aca5c82 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,13 @@ ```bash ansible-galaxy install -r requirements.yml --roles-path=roles ``` -1. Run the play book using +1. Run the play book using this to create projects and roles ```bash -ansible-playbook roles/openshift-applier/playbooks/openshift-cluster-seed.yml -i inventory/ +ansible-playbook apply.yml -i inventory/ -e target=bootstrap +``` +1. Run the play book using this to create projects and roles +```bash +ansible-playbook apply.yml -i inventory/ -e target=tools ``` ## Running a Subset of the Inventory @@ -21,7 +25,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/openshift-applier/playbooks/openshift-cluster-seed.yml \ +ansible-playbook apply.yml -e target=tools \ -i inventory/ \ - -e="filter_tags=jenkins,ci,projects" + -e "filter_tags=jenkins,ci,projects" ``` -- Gitblit v1.9.3