Created
March 29, 2018 17:02
-
-
Save lincolnthree/b83538f97e11b31b7104c51ee9f2ac78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prereq | |
###### | |
- Ansible 2.4 is installed - http://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html | |
- Centos7 VM | |
- Snowdrop infra project cloned (see hereafter) | |
``` | |
git clone https://github.com/snowdrop/cloud-native-infra.git snowdrop-infra && cd snowdrop-infra/ansible | |
git clone -b release-3.7 https://github.com/openshift/openshift-ansible.git | |
``` | |
Local CentOS VM (virtualbox, kvm, ...) | |
###################################### | |
``` | |
ansible-playbook playbook/generate_inventory.yml -e ip_address=192.168.99.50 | |
export OPENSHIFT_ADMIN_PWD="Sn0wDr0p" | |
ansible-playbook -i inventory/cloud_host playbook/cluster.yml -e openshift_node=masters -e openshift_release_tag_name=v3.9.0-alpha.3 --tags "up" | |
ansible-playbook -i inventory/cloud_host playbook/post_installation.yml -e openshift_admin_pwd=${OPENSHIFT_ADMIN_PWD} --tags "identity_provider,enable_cluster_admin" | |
ansible-playbook -i inventory/cloud_host playbook/post_installation.yml --tags istio -e istio_git_branch=ansible-mutating-webhook -e istio_git_repo=https://github.com/geoand/istio.git | |
ansible-playbook -i inventory/cloud_host \ | |
playbook/post_installation.yml \ | |
-e openshift_node=masters\ | |
-e launcher_openshift_pwd=${OPENSHIFT_ADMIN_PWD}\ | |
-e launcher_github_username=snow-bot\ | |
-e launcher_github_token=SNOW-BOT-ACCOUNT\ | |
-e launcher_catalog_git_repo=https://github.com/snowdrop/launcher-booster-catalog.git\ | |
-e launcher_catalog_git_branch=istio \ | |
--tags install-launcher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment