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