# site.yml
---
- hosts: srv001
  sudo: true
  roles: []

- hosts: srv002
  sudo: true
  roles: []

# site.yml
---
- hosts: srv001
  become: true
  roles: []

- hosts: srv002
  become: true
  roles: []

Fix Ansible 2.0 deprecation warning for ‘sudo:’ directive
Fix Ansible 2.0 deprecation warning for ‘sudo:’ directive
