ansible-roles/redmine/tasks/packages.yml

41 lines
855 B
YAML
Raw Normal View History

---
- name: Install dependency
apt:
2019-12-31 15:25:10 +01:00
name:
- libpam-systemd
- imagemagick
- git-core
- git-svn
- gcc
- build-essential
- libxml2-dev
- libxslt1-dev
- libssl-dev
- libmagickwand-dev
- libmagickcore-dev
- libmariadbclient-dev
state: present
tags:
- redmine
# dependency for mysql_user and mysql_db
2021-09-29 18:39:29 +02:00
- name: python modules is installed (Ansible dependency)
apt:
2021-09-29 18:39:29 +02:00
name:
- python-mysqldb
- python-pymysql
state: present
tags:
- redmine
when: ansible_python_version is version('3', '<')
# dependency for mysql_user and mysql_db
2021-09-29 18:39:29 +02:00
- name: python3 modules is installed (Ansible dependency)
apt:
2021-09-29 18:39:29 +02:00
name:
- python3-mysqldb
- python3-pymysql
state: present
tags:
- redmine
when: ansible_python_version is version('3', '>=')