Skip to content
Snippets Groups Projects
Commit 38f2ebe3 authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace deprecated "sudo" with "become"

parent 13541ea5
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
dest=/etc/hosts dest=/etc/hosts
regexp='{{ item }}' regexp='{{ item }}'
state=absent state=absent
sudo: yes become: yes
with_items: with_items:
- '^{{ static_ipv4|default(False) }} ' - '^{{ static_ipv4|default(False) }} '
- '.*{{ host }}$' - '.*{{ host }}$'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment