From 0c8e7ae103adc2f527ed698a4f762a8409659234 Mon Sep 17 00:00:00 2001 From: Piotr Kopec Date: Thu, 13 Feb 2020 12:51:00 +0100 Subject: [PATCH] Minor doc fix for cells v2 creation with ansible playbooks * Specifying CONTAINERCLI var to use when running playbooks * minor nit fix in mkdir Change-Id: I069f8df8224240b7446d6bbd2d58775e8941d262 --- deploy-guide/source/features/deploy_cellv2_basic.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy-guide/source/features/deploy_cellv2_basic.rst b/deploy-guide/source/features/deploy_cellv2_basic.rst index ac1cc153..927c3c69 100644 --- a/deploy-guide/source/features/deploy_cellv2_basic.rst +++ b/deploy-guide/source/features/deploy_cellv2_basic.rst @@ -282,8 +282,9 @@ by this ansible way. .. code-block:: bash + export CONTAINERCLI=podman #choose appropriate contaier cli here source stackrc - mkdir inventories-cell1 + mkdir inventories for i in overcloud cell1; do \ /usr/bin/tripleo-ansible-inventory \ --static-yaml-inventory inventories/${i}.yaml --stack ${i}; \ @@ -292,7 +293,7 @@ by this ansible way. ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_SSH_RETRIES=3 ansible-playbook -i inventories \ /usr/share/ansible/tripleo-playbooks/create-nova-cell-v2.yaml \ -e tripleo_cellv2_cell_name=cell1 \ - -e tripleo_cellv2_containercli=docker + -e tripleo_cellv2_containercli=${CONTAINERCLI} The playbook requires two parameters `tripleo_cellv2_cell_name` to provide the name of the new cell and until docker got dropped `tripleo_cellv2_containercli`