Commit 369a5079 by Kevin Falcone

This allows you to reinstall minos on a cluster if needed

No need for serial.
Clean out the venv and the pip cache since it might all have troubles.
parent c22399a0
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
hosts: all hosts: all
become: True become: True
gather_facts: True gather_facts: True
vars:
serial_count: 1
serial: "{{ serial_count }}"
roles: roles:
- aws - common_vars
- minos - minos
...@@ -79,6 +79,23 @@ ...@@ -79,6 +79,23 @@
force: yes force: yes
mode: "0600" mode: "0600"
- name: Clear pip cache
file:
path: "/root/.cache/pip"
state: absent
- name: Clear virtualenv
file:
path: "{{ minos_app_dir }}/venvs/"
state: absent
- name: recreate virtualenv
file:
path: "{{ minos_app_dir }}/venvs/"
state: directory
owner: "minos"
group: "{{ common_web_group }}"
- name: Install python custom-requirements - name: Install python custom-requirements
pip: pip:
name: "{{ item }}" name: "{{ item }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment