From de646243a2b79ff4fe5774503ce908b4af0f7cb3 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 8 Nov 2016 16:31:43 +0100 Subject: [PATCH] fix formating on the intro_dynamic_inventory page * don't mark `./ec2.py --refresh-cache` as a comment * format `./openstack.py --refresh --list` as code * format `--refresh` as code --- docsite/rst/intro_dynamic_inventory.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/intro_dynamic_inventory.rst b/docsite/rst/intro_dynamic_inventory.rst index f0781af269..71e638f923 100644 --- a/docsite/rst/intro_dynamic_inventory.rst +++ b/docsite/rst/intro_dynamic_inventory.rst @@ -226,7 +226,7 @@ To see the complete list of variables available for an instance, run the script Note that the AWS inventory script will cache results to avoid repeated API calls, and this cache setting is configurable in ec2.ini. To explicitly clear the cache, you can run the ec2.py script with the ``--refresh-cache`` parameter:: - # ./ec2.py --refresh-cache + ./ec2.py --refresh-cache .. _openstack_example: @@ -295,7 +295,7 @@ After a few moments you should see some JSON output with information about your Refresh the cache +++++++++++++++++ -Note that the OpenStack dynamic inventory script will cache results to avoid repeated API calls. To explicitly clear the cache, you can run the openstack.py (or hosts) script with the --refresh parameter: +Note that the OpenStack dynamic inventory script will cache results to avoid repeated API calls. To explicitly clear the cache, you can run the openstack.py (or hosts) script with the ``--refresh`` parameter:: ./openstack.py --refresh --list