2019-10-17 12:23:55 +00:00
|
|
|
- name: Install dependencies
|
2019-07-01 00:01:11 +00:00
|
|
|
package:
|
2019-10-17 12:23:55 +00:00
|
|
|
name:
|
2020-12-04 13:42:32 +00:00
|
|
|
- gcc
|
|
|
|
- python3-dev
|
2020-12-02 22:56:54 +00:00
|
|
|
- python3-setuptools
|
2020-11-30 16:27:28 +00:00
|
|
|
- python3-pip
|
2019-07-01 00:01:11 +00:00
|
|
|
state: present
|
2019-06-29 16:21:47 +00:00
|
|
|
|
|
|
|
- name: Install openstacksdk
|
|
|
|
pip:
|
|
|
|
name: openstacksdk
|
2021-01-12 16:04:03 +00:00
|
|
|
executable: pip3
|
2019-06-29 16:21:47 +00:00
|
|
|
|
|
|
|
- name: Check if agent forwarding is enabled
|
|
|
|
fail:
|
|
|
|
msg: Please enable agent forwarding to allow Ansible to connect to the remote host!
|
|
|
|
ignore_errors: yes
|
2019-10-17 12:23:55 +00:00
|
|
|
when: lookup('env','SSH_AUTH_SOCK') == ""
|