Boa tarde, eu estou enroscado aqui, instala bem o Python mas não o virtualenv
ubuntu@ip-172-31-12-74:$ python3 --version
Python 3.10.4
ubuntu@ip-172-31-12-74:$ virtualenv --version
Command 'virtualenv' not found, but can be installed with:
sudo apt install python3-virtualenv
rogerio@Linux:~/IaC$ ansible-playbook playbook.yml -u ubuntu --private-key ROFEPRADO.pem -i hosts.yml [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
PLAY [terraform-ansible] ****
TASK [Gathering Facts] ** ok: [52.27.236.201]
TASK [instalando o python3, virtualenv] * fatal: [52.27.236.201]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (apt) module: update cache. Supported parameters include: dpkg_options, force_apt_get, default_release (default-release), force, deb, autoclean, only_upgrade, state, install_recommends (install-recommends), allow_unauthenticated (allow-unauthenticated), allow_downgrade (allow-downgrade, allow-downgrades, allow_downgrades), purge, package (name, pkg), policy_rc_d, update_cache (update-cache), autoremove, lock_timeout, cache_valid_time, upgrade, fail_on_autoremove, update_cache_retry_max_delay, update_cache_retries."}
PLAY RECAP ** 52.27.236.201 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0