adds restart_if_needed argument to nios_zone (#35191)

* adds restart_if_needed argument to nios_zone

* minor updates to the documentation strings
This commit is contained in:
Peter Sprygada 2018-01-22 16:21:07 -05:00 committed by John R Barker
parent d6004852a2
commit dd5256f3df

View file

@ -60,6 +60,13 @@ options:
description:
- The name of the grid secondary server
required: true
restart_if_needed:
description:
- Restart the services (if necessary) when objects are added or
removed
required: false
default: false
type: bool
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
@ -89,6 +96,7 @@ EXAMPLES = '''
- name: configure a zone on the system
nios_zone:
name: ansible.com
restart_if_needed: yes
state: present
provider:
host: "{{ inventory_hostname_short }}"
@ -137,6 +145,8 @@ def main():
grid_primary=dict(type='list', elements='dict', options=grid_spec),
grid_secondaries=dict(type='list', elements='dict', options=grid_spec),
restart_if_needed=dict(type='bool', default=False),
extattrs=dict(type='dict'),
comment=dict()
)