Caros, boa tarde,
Por favor, podem me ajudar com o erro abaixo? No caso, como minha maquina é Linux, estou executando o Ansible localmente.
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [phpweb]
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host phpweb should use
/usr/bin/python3, but is using /usr/bin/python for backward compatibility with
prior Ansible releases. A future Ansible release will default to using the
discovered platform python for this host. See https://docs.ansible.com/ansible/
2.9/reference_appendices/interpreter_discovery.html for more information. This
feature will be removed in version 2.12. Deprecation warnings can be disabled
by setting deprecation_warnings=False in ansible.cfg.
TASK [Instalar MySQL Server] ***************************************************
[WARNING]: Updating cache and auto-installing missing dependency: python-apt
changed: [phpweb]
TASK [Criar usuario no MySQL] **************************************************
[WARNING]: Module did not set no_log for update_********word
fatal: [phpweb]: FAILED! => {"changed": false, "msg": "The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required."}
PLAY RECAP *********************************************************************
phpweb : ok=2 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.