mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 19:58:52 +00:00
19 lines
484 B
YAML
19 lines
484 B
YAML
- name: Install dependencies
|
|
ansible.builtin.package:
|
|
name:
|
|
- gcc
|
|
- python3-dev
|
|
- python3-setuptools
|
|
- python3-pip
|
|
state: present
|
|
|
|
- name: Install openstacksdk
|
|
ansible.builtin.pip:
|
|
name: openstacksdk
|
|
executable: pip3
|
|
|
|
- name: Check if agent forwarding is enabled
|
|
ansible.builtin.fail:
|
|
msg: Please enable agent forwarding to allow Ansible to connect to the remote host!
|
|
ignore_errors: yes
|
|
when: lookup('env','SSH_AUTH_SOCK') == ""
|