Merge "[Docs] Update the add a new infrastructure host and fix the indentation"

This commit is contained in:
Jenkins 2017-01-05 16:38:35 +00:00 committed by Gerrit Code Review
commit d3b6d6b590

View File

@ -29,7 +29,7 @@ needed in an environment, it is possible to create additional nodes.
NEW_infra<node-ID>:
ip: 10.17.136.33
#. Run the ``add_host`` playbook on the deployment host.
#. Change to playbook folder on the deployment host.
.. code:: console
@ -48,8 +48,7 @@ needed in an environment, it is possible to create additional nodes.
.. code:: console
# /opt/openstack-ansible/scripts/inventory-manage.py \
-f /opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py \
-l |awk -F\| '/<NEW INFRA NODE>/ {print $2}' |sort -u | tee /root/add_host.limit
-l |awk -F '|' '/<NEW INFRA NODE>/ {print $2}' |sort -u | tee /root/add_host.limit
#. Run the ``setup-everything.yml`` playbook with the
``limit`` argument.