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:
parent
0b77942bbc
commit
de646243a2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue