Estou recebendo este erro quando tento executar o comando do playbook, segue codigo e erro abaixo
- hosts: terraform-ansible
tasks:
- name: Instalando o python3, virtualenv
apt:
pkg:
- python3
- virtualenv
update_cache: yes
become: yes
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details ERROR! conflicting action statements: apt, update_cache
The error appears to be in '/home/ubunto/Programação/terraform/playbook.yml': line 3, column 7, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: Instalando o python3, virtualenv
^ here