Correct the OpenStack plugin example config

The current example configuration is not
quite right, so this patch implements a
fix which corrects it

The 'inventory_hostname' argument is removed
as it's the same value as the default.

(cherry picked from commit 12218f33a5c429676da8f3db0f91553c63a0314f)
This commit is contained in:
Jesse Pretorius 2018-05-20 19:50:00 +01:00 committed by Matt Clay
parent b7e31ddb63
commit ccc963a51f

View file

@ -91,11 +91,9 @@ DOCUMENTATION = '''
EXAMPLES = '''
# file must be named openstack.yaml or openstack.yml
# Make the plugin behave like the default behavior of the old script
simple_config_file:
plugin: openstack
inventory_hostname: 'name'
expand_hostvars: true
fail_on_errors: true
plugin: openstack
expand_hostvars: yes
fail_on_errors: yes
'''
import collections