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.
pull/28830/merge
Jesse Pretorius 7 years ago committed by Monty Taylor
parent 89ce826a9f
commit 8690937fb3

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

Loading…
Cancel
Save