diff options
author | Maciej Wereski <m.wereski@partner.samsung.com> | 2021-07-28 13:43:26 +0000 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2021-08-24 13:41:02 +0000 |
commit | fe32db5a54133b5070ad2907c424dab2ea35cade (patch) | |
tree | 5ff2ca9c256be4d9b37099865b10c9c20f49928e /deployment | |
parent | 23ad0cb3da6e70804dbc812aabb14dfa2ab3975e (diff) |
noheat: install Ansible kubernetes collection
Issue-ID: INT-1601
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Change-Id: Id7cfc411a73f11102ef9c90364da986d49dbb888
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/create.yml | 16 |
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" |