From f0e70cadc0d16590abb7fb3a95d21e675645032d Mon Sep 17 00:00:00 2001 From: Matthew Kouparitsas <s3raph@users.noreply.github.com> Date: Tue, 17 Apr 2018 13:16:01 +1000 Subject: [PATCH] Corrected formatting examples in README.md --- ansible/README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ansible/README.md b/ansible/README.md index f864f46..65d86ff 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -24,21 +24,22 @@ information. In part 2, the _kube-up.sh_ script calls a playbook to install etcd. -`ansible-playbook -i hosts-${CLC_CLUSTER_NAME} install_etcd.yml \ - -e config_vars=${CLC_CLUSTER_HOME}/config/master_config.yml` - +``` +ansible-playbook -i hosts-${CLC_CLUSTER_NAME} install_etcd.yml \ + -e config_vars=${CLC_CLUSTER_HOME}/config/master_config.yml +``` #### Installing Kubernetes In part 3, the _kube-up.sh_ script calls two playbooks to install kubernetes, with differerent configurations for the master and minion nodes. - -`ansible-playbook create-minion-hosts.yml \ +``` +ansible-playbook create-minion-hosts.yml \ -e config_vars=${CLC_CLUSTER_HOME}/config/minion_config.yml ansible-playbook create-master-hosts.yml \ - -e config_vars=${CLC_CLUSTER_HOME}/config/master_config.yml` - + -e config_vars=${CLC_CLUSTER_HOME}/config/master_config.yml +``` #### Running Kubernetes applications