From 186f8ac8b41555d597743ff5629143a15d404eef Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Thu, 18 Feb 2021 20:25:14 +0000 Subject: [PATCH] Fix errors in console samples Some updates on docs processing have uncovered two syntax errors in code examples. Fix these to unblock docs builds. Change-Id: Idbd82a4fd2f7fa2bc3710cebe3953a342df01408 --- doc/source/admin/maintenance-tasks/ansible-modules.rst | 4 ++-- doc/source/admin/scale-environment.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/admin/maintenance-tasks/ansible-modules.rst b/doc/source/admin/maintenance-tasks/ansible-modules.rst index 5bbc52ffa7..9581679bf9 100644 --- a/doc/source/admin/maintenance-tasks/ansible-modules.rst +++ b/doc/source/admin/maintenance-tasks/ansible-modules.rst @@ -92,8 +92,8 @@ The following example shows how to move a file from your deployment host to the .. code-block:: console - $ ansible remote_machines -m copy -a 'src=/root/FILE \ - dest=/tmp/FILE' + $ ansible remote_machines -m copy -a 'src=/root/FILE '\ + 'dest=/tmp/FILE' The fetch module gathers files from remote machines and stores the files locally in a file tree, organized by the hostname from remote machines and diff --git a/doc/source/admin/scale-environment.rst b/doc/source/admin/scale-environment.rst index fc96bf7380..4a9f518d88 100644 --- a/doc/source/admin/scale-environment.rst +++ b/doc/source/admin/scale-environment.rst @@ -334,8 +334,8 @@ If a LVM backed Block Storage host needs to be shut down: .. code-block:: console - # mysql cinder -BNe 'select instance_uuid from volumes where deleted=0 \ - and host like "%%"' | tee /home/user/running_instances + # mysql cinder -BNe 'select instance_uuid from volumes where deleted=0 '\ + 'and host like "%%"' | tee /home/user/running_instances #. Shut down the instances: