Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ansible-roles/redmine/tasks/packages.yml

41 lines
855 B

---
- name: Install dependency
apt:
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
- name: python modules is installed (Ansible dependency)
apt:
name:
- python-mysqldb
- python-pymysql
state: present
tags:
- redmine
when: ansible_python_version is version('3', '<')
# dependency for mysql_user and mysql_db
- name: python3 modules is installed (Ansible dependency)
apt:
name:
- python3-mysqldb
- python3-pymysql
state: present
tags:
- redmine
when: ansible_python_version is version('3', '>=')