Remove deprecated restart: parameter from win_feature examples (#33848)
`restart` is a deprecated parameter. Show how to use `reboot_required`
in examples instead
(cherry picked from commit 1f8f394de3
)
This commit is contained in:
parent
a635a7861b
commit
06ddcf6fa7
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