From fe32db5a54133b5070ad2907c424dab2ea35cade Mon Sep 17 00:00:00 2001 From: Maciej Wereski Date: Wed, 28 Jul 2021 13:43:26 +0000 Subject: noheat: install Ansible kubernetes collection Issue-ID: INT-1601 Signed-off-by: Maciej Wereski Change-Id: Id7cfc411a73f11102ef9c90364da986d49dbb888 --- deployment/noheat/infra-openstack/ansible/create.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'deployment') 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" -- cgit 1.2.3-korg