You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 becomeas 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.
The text was updated successfully, but these errors were encountered:
ERROR! conflicting action statements: raw, sudo
The error appears to be in '/home/michael.stevens/.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
I am running the Ansible
2.9.0.dev0
andv2.0.1
of the Ansible role and it seems they dropped support forsudo
in favour ofbecome
as highlighted in the documentation.This breaks the role as Ansible errors with:
Converting all
sudo
task attributes tobecome
should fix the problem.The text was updated successfully, but these errors were encountered: