Skip to content

Commit

Permalink
Fix sudo deprecation
Browse files Browse the repository at this point in the history
Use become instead of sudo.

Fixes:

    [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo'
(default). This feature will be removed in version 2.6. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
  • Loading branch information
andrewkroh authored and ruflin committed Jan 23, 2018
1 parent a7aad8c commit b392449
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- debian
- centos
- darwin
sudo: yes
become: yes
tags:
- packetbeat
vars:
Expand All @@ -22,7 +22,7 @@
- debian
- centos
- darwin
sudo: yes
become: yes
tags:
- filebeat
vars:
Expand All @@ -39,7 +39,7 @@
- debian
- centos
- darwin
sudo: yes
become: yes
tags:
- metricbeat
vars:
Expand All @@ -56,7 +56,7 @@
- debian
- centos
- darwin
sudo: yes
become: yes
tags:
- heartbeat
vars:
Expand Down

0 comments on commit b392449

Please sign in to comment.