При запуске ANSIBLE PlayBook появляется следующее сообщение
FAILED!=> {"change": false, "msg": "boto требуется для этого модуля"}
Я указал интерпретатор python в ansible-playbook следующим образом:
hosts: aws
become: yes
gather_facts: no
tasks:
- set_fact:
ansible_python_interpreter: /usr/bin/python3
и когда я проверяю модуль pip3, он устанавливается.
$ pip3 list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
apturl (0.5.2)
asn1crypto (0.24.0)
boto (2.49.0)
boto3 (1.9.88)
botocore (1.12.92)