don't use `with_file` in exclusive=True examples (#65967)

pull/66044/head
Evgeni Golov 5 years ago committed by Sandra McCann
parent 10b6038e21
commit 5c69e02a35

@ -139,11 +139,9 @@ EXAMPLES = r'''
- name: Set authorized key, removing all the authorized keys already set
authorized_key:
user: root
key: '{{ item }}'
key: "{{ lookup('file', 'public_keys/doe-jane') }}"
state: present
exclusive: True
with_file:
- public_keys/doe-jane
- name: Set authorized key for user ubuntu copying it from current user
authorized_key:

Loading…
Cancel
Save