aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/ansible/create.yml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible/create.yml')
-rw-r--r--deployment/noheat/infra-openstack/ansible/create.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/create.yml b/deployment/noheat/infra-openstack/ansible/create.yml
index d2828d766..847efa25f 100644
--- a/deployment/noheat/infra-openstack/ansible/create.yml
+++ b/deployment/noheat/infra-openstack/ansible/create.yml
@@ -55,5 +55,21 @@
ansible.posix.synchronize:
src: ../../cluster-rke
dest: ~/deploy
+ - name: Install python dependencies
+ become: yes
+ package:
+ name:
+ - python3-pip
+ - python3-setuptools
+ state: present
+ - name: Install community.kubernetes.k8s Ansible collection dependencies
+ pip:
+ name:
+ - openshift
+ - pyyaml
+ - kubernetes
+ become: yes
- name: Add Ansible collection dependencies
command: "ansible-galaxy collection install ansible.posix"
+ - name: Add community.kubernetes Ansible collection
+ command: "ansible-galaxy collection install community.kubernetes"