Skip to content

Commit 9e321dc

Browse files
authored
Merge pull request #17 from infothrill/infothrill/no_become_wait_for_the_host
Don't become when delegating to localhost
2 parents 1c5a844 + 9df9bef commit 9e321dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
port: "{{ ansible_port | default('22') }}"
66
host: "{{ inventory_hostname }}"
77
delegate_to: localhost
8+
become: no
89
when:
910
- inventory_hostname is defined
1011
- ansible_connection is defined

0 commit comments

Comments
 (0)