adds restart_if_needed argument to nios_zone (#35191)

* adds restart_if_needed argument to nios_zone

* minor updates to the documentation strings
pull/30965/merge
Peter Sprygada 7 years ago committed by John R Barker
parent d6004852a2
commit dd5256f3df

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

Loading…
Cancel
Save