1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
Evgeni Golov 2016-11-08 16:31:43 +01:00
parent 0b77942bbc
commit de646243a2

View file

@ -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