mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove deprecated restart: parameter from win_feature examples (#33848)
`restart` is a deprecated parameter. Show how to use `reboot_required` in examples instead
This commit is contained in:
parent
1d10a2867c
commit
1f8f394de3
1 changed files with 5 additions and 1 deletions
|
@ -99,9 +99,13 @@ EXAMPLES = r'''
|
|||
win_feature:
|
||||
name: Web-Server
|
||||
state: present
|
||||
restart: True
|
||||
include_sub_features: True
|
||||
include_management_tools: True
|
||||
register: win_feature
|
||||
|
||||
- name: reboot if installing Web-Server feature requires it
|
||||
win_reboot:
|
||||
when: win_feature.reboot_required
|
||||
'''
|
||||
|
||||
RETURN = r'''
|
||||
|
|
Loading…
Reference in a new issue