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:
Will Thames 2017-12-13 16:48:45 +10:00 committed by Jordan Borean
parent 1d10a2867c
commit 1f8f394de3

View file

@ -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'''