9b67202acc
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2683|7|2676|7|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/454//ansiblelint">Evolix » ansible-roles » unstable #454</a>
gitea/ansible-roles/pipeline/head This commit looks good
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
---
|
|
- name: Install dependencies
|
|
ansible.builtin.apt:
|
|
state: present
|
|
name:
|
|
- bzip2
|
|
- php-gd
|
|
- php-json
|
|
- php-xml
|
|
- php-mbstring
|
|
- php-zip
|
|
- php-curl
|
|
- php-bz2
|
|
- php-intl
|
|
- php-gmp
|
|
- php-apcu
|
|
- php-redis
|
|
- php-bcmath
|
|
- php-imagick
|
|
- libmagickcore-6.q16-6-extra
|
|
tags:
|
|
- nextcloud
|
|
|
|
# dependency for mysql_user and mysql_db - python2
|
|
- name: python modules is installed (Ansible dependency)
|
|
ansible.builtin.apt:
|
|
name:
|
|
- python-mysqldb
|
|
- python-pymysql
|
|
state: present
|
|
tags:
|
|
- nextcloud
|
|
when: ansible_python_version is version('3', '<')
|
|
|
|
# dependency for mysql_user and mysql_db - python3
|
|
- name: python3 modules is installed (Ansible dependency)
|
|
ansible.builtin.apt:
|
|
name:
|
|
- python3-mysqldb
|
|
- python3-pymysql
|
|
state: present
|
|
tags:
|
|
- nextcloud
|
|
when: ansible_python_version is version('3', '>=')
|
|
|
|
- ansible.builtin.include: apache-system.yml
|
|
|
|
- ansible.builtin.include: user.yml
|
|
|
|
- ansible.builtin.include: archive.yml
|
|
when: nextcloud_get_archive
|
|
|
|
- ansible.builtin.include: apache-vhost.yml
|
|
|
|
- ansible.builtin.include: mysql-user.yml
|
|
|
|
- ansible.builtin.include: config.yml
|
|
when: nextcloud_do_config
|