mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
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:
parent
d6004852a2
commit
dd5256f3df
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue