Erro quando tento executar o comando ansible-playbook playbook.yml -u ubuntu --private-key ec2-oregon.pem -i houts.yml Estou executando de uma MV ubuntu já pesquisei mas não estou conseguindo encontrar a solução.
karlo@karlosrv:~/learn-terraform-aws-instance$ ansible-playbook playbook.yml -u ubuntu --private-key ec2-oregon.pem -i houts.yml [WARNING]: Failed to load inventory plugin, skipping pem [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0)
Syntax Error while loading YAML. mapping values are not allowed in this context
The error appears to be in '/home/karlo/learn-terraform-aws-instance/playbook.yml': line 4, column 15, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Instalando o python3, virtualenv
apt:
^ here