-
Notifications
You must be signed in to change notification settings - Fork 14
hetzner
Charles Moulliard edited this page Mar 23, 2018
·
1 revision
- ssh your public key
sshpass -f pwd.txt ssh -o StrictHostKeyChecking=no [email protected] "mkdir ~/.ssh && chmod 700 ~/.ssh && touch ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
sshpass -f pwd.txt ssh-copy-id -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa.pub [email protected]
- Generate the inventory file using the IP address of the cloud machine
ansible-playbook playbook/generate_inventory.yml -e ip_address=195.201.87.126
- Next install OpenShift
openshift_release_tag_name=v3.9.0-alpha.3 -e cluster_service_catalog=false -e cluster_ip_address=195.201.87.126 --tags "up"
- Execute postinstallation to deploy nexus, jenkins, jaeger
ansible-playbook -i inventory/cloud_host playbook/post_installation.yml -e openshift_node=masters -e infra_project=infra --skip-tags enable_cluster_admin,persistence,install_istio,install_asb
- Copy/paste istio role folder to our playbooks/roles dir
- Install istio
ansible-playbook -i inventory/cloud_host playbook/post_installation.yml -e "@extra_vars.yml" --tags istio