Correct the OpenStack plugin example config (#40460)

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.
This commit is contained in:
Jesse Pretorius 2018-05-26 02:46:11 +01:00 committed by Monty Taylor
parent 89ce826a9f
commit 8690937fb3

View file

@ -93,11 +93,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
expand_hostvars: yes
fail_on_errors: yes
'''
import collections