parent
0deae1a5cb
commit
f270402bc3
8 changed files with 66 additions and 31 deletions
@ -1,16 +1,22 @@ |
|||||||
--- |
--- |
||||||
|
|
||||||
|
- include_vars: "{{ item }}" |
||||||
|
with_first_found: |
||||||
|
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml |
||||||
|
- vars/{{ ansible_distribution }}.yml |
||||||
|
- vars/{{ ansible_os_family }}.yml |
||||||
|
tags: pgadmin4 |
||||||
|
|
||||||
- name: Check if a 2.7 venv exists |
- name: Check if a 2.7 venv exists |
||||||
stat: path={{ pga_root_dir }}/lib/python2.7 |
stat: path={{ pga_root_dir }}/lib/python2.7 |
||||||
register: pga_venv_27 |
register: pga_venv_27 |
||||||
tags: pgadmin4 |
tags: pgadmin4 |
||||||
|
|
||||||
- import_tasks: ../includes/webapps_set_install_mode.yml |
- block: |
||||||
|
- import_tasks: ../includes/webapps_set_install_mode.yml |
||||||
vars: |
vars: |
||||||
- root_dir: "{{ pga_root_dir }}" |
- root_dir: "{{ pga_root_dir }}" |
||||||
- version: "{{ pga_version }}" |
- version: "{{ pga_version }}" |
||||||
tags: pgadmin4 |
- set_fact: pga_install_mode={{ install_mode }} |
||||||
- set_fact: pga_install_mode={{ install_mode }} |
- set_fact: pga_current_version={{ current_version | default('') }} |
||||||
tags: pgadmin4 |
|
||||||
- set_fact: pga_current_version={{ current_version | default('') }} |
|
||||||
tags: pgadmin4 |
tags: pgadmin4 |
||||||
|
@ -0,0 +1,11 @@ |
|||||||
|
--- |
||||||
|
|
||||||
|
pgadmin4_packages: |
||||||
|
- gcc |
||||||
|
- postgresql |
||||||
|
- postgresql-devel |
||||||
|
- python3-virtualenv |
||||||
|
- python3-pip |
||||||
|
- python-setuptools # Needed for pip install expect |
||||||
|
- python-pip # Also needed to install expect |
||||||
|
|
@ -0,0 +1,10 @@ |
|||||||
|
--- |
||||||
|
|
||||||
|
pgadmin4_packages: |
||||||
|
- gcc |
||||||
|
- postgresql |
||||||
|
- postgresql-devel |
||||||
|
- python3-virtualenv |
||||||
|
- python3-pip |
||||||
|
- python3-setuptools # Needed for pip install expect |
||||||
|
|
@ -0,0 +1,7 @@ |
|||||||
|
--- |
||||||
|
|
||||||
|
pma_packages: |
||||||
|
- unzip |
||||||
|
- MySQL-python |
||||||
|
- mariadb |
||||||
|
- acl |
@ -0,0 +1,6 @@ |
|||||||
|
--- |
||||||
|
|
||||||
|
pma_packages: |
||||||
|
- unzip |
||||||
|
- mariadb |
||||||
|
- acl |
Loading…
Reference in new issue