19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15 ■ Using an HA Master with OpenShift

Figure 15-5. Installing Ansible PPA

Update the repository and install Ansible:

sudo apt-get update

sudo apt-get install ansible

Ansible is installed on the Ubuntu instance.

Download the openshift-ansible git repository. CD (change directory) to the openshift-ansible

directory:

git clone https://github.com/openshift/openshift-ansible.git

cd openshift-ansible

To list the default settings for the IP addresses and host names run the following command:

ansible-playbook playbooks/byo/openshift_facts.yml

The command output is shown in Figure 15-6.

340

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!