-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I am running the Ansible 2.9.0.dev0 and v2.0.1 of the Ansible role and it seems they dropped support for sudo in favour of become as highlighted in the documentation.
This breaks the role as Ansible errors with:
ERROR! 'sudo' is not a valid attribute for a Task
The error appears to be in '/path/to/ansible/roles/wtanaka.gcloud-sdk/tasks/compat_sudo.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- name: install python-apt on ansible < 1.6.0 and ubuntu et al
^ here
This error can be suppressed as a warning using the "invalid_task_attribute_failed" configuration
Converting all sudo task attributes to become should fix the problem.
Metadata
Metadata
Assignees
Labels
No labels