Skip to content
Snippets Groups Projects
Verified Commit 096cb39c authored by Varac's avatar Varac
Browse files

Move package installation to configure role (#102)

parent df828250
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,27 @@
cache_valid_time: 86400
update_cache: yes
- name: Install python deps
tags:
- package
package:
name: "{{ item }}"
with_items:
- python3-pip
- python3-setuptools
- python3-wheel
- python3-psutil
- python-pip
# Openshift python module eeded for ansible k8s resource
- name: Install openshift python module via pip3
tags:
- package
- pip
pip:
name: openshift
executable: /usr/bin/pip3
- name: Set configuration directory
set_fact:
configuration_directory: "{{ configuration_directory }}"
......
......@@ -44,26 +44,6 @@
src: /oas/control/local/rke/kube_config_cluster.yml
dest: /root/.kube/config
- name: Install python deps
tags:
- package
package:
name: "{{ item }}"
with_items:
- python3-pip
- python3-setuptools
- python3-wheel
- python3-psutil
# Needed for ansible k8s resource
- name: Install openshift python module via pip3
tags:
- package
- pip
pip:
name: openshift
executable: /usr/bin/pip3
- name: Configure Tiller serviceaccount
tags:
- tiller
......@@ -215,7 +195,7 @@
- name: Check if there are failed helm deployments
tags:
- helmfile
- helmfile
command: 'helm ls --failed --short'
failed_when: false
register: helm_failed_deployments
......@@ -236,4 +216,3 @@
- NEXTCLOUD_MARIADB_PASSWORD: "{{ nextcloud_mariadb_password }}"
- NEXTCLOUD_MARIADB_ROOT_PASSWORD: "{{ nextcloud_mariadb_root_password }}"
command: '/usr/local/bin/helmfile -b /snap/bin/helm -e oas -f /oas/source/repos/helmfiles/helmfile.d/ apply --suppress-secrets'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment