Activate privilege escalation for removing go installation

To remove files from /usr/local/go, root privileges are required.
This commit is contained in:
ionutboangiu
2023-08-29 03:14:38 -04:00
committed by Dan Christian Bogos
parent 0a4c2ee12c
commit 3c7537aa83

View File

@@ -6,6 +6,7 @@
changed_when: false
- name: Remove current installation.
become: yes
file:
state: absent
path: /usr/local/go