Merge branch 'master' of git.softwarelibre.mx:strepsirrhini/lemur
This commit is contained in:
commit
386717a312
3 changed files with 43 additions and 7 deletions
|
@ -13,5 +13,5 @@ workstation $ ssh-copy-id root@server_ip
|
|||
Use the ansible playbooks to setup the nextcloud appliance
|
||||
|
||||
```
|
||||
workstation $ ansible-playbook -i server_ip, ansible/nextcloud_bootstrap.yaml
|
||||
workstation $ ansible-playbook -i inventory_source, ansible/nextcloud_bootstrap.yaml
|
||||
```
|
||||
|
|
33
nextcloud/ansible/files/0C54D189F4BA284D.asc
Normal file
33
nextcloud/ansible/files/0C54D189F4BA284D.asc
Normal file
|
@ -0,0 +1,33 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBFKVtusBCACxi5Ri86yYCZ6dWTbXXiCIps82UWBksjRoxizATHQ7o5Y5ujf2
|
||||
KtTlR8znLA1Lm4JhBUGe9a6L3+sM1M7AyU6glkl2MOY5tA1mqnPS4VLJP58ZoPPr
|
||||
2Ll7mELqSGBQwNIE4UqOi8z4mEV/Uf79xpnlMZLJBMMV3ZmG+CfkXcm6aZe4v1hg
|
||||
CYfDuTXLFRGC/rpc7lVxmIpDHewCfOY6Y/FsVo0rkKftTF0HSr5dPSgVoI0GJjPk
|
||||
cKAsKGw4dznM9oVNnFCIRJeavy/aMgEn0JDmUkIrtoOqu5miUaXGpMsn8ppbE2xW
|
||||
7Ey7Jq4plTwwgjMEzOU75oA9/i9E3J4LSehhABEBAAG0MkNvbGxhYm9yYSBQcm9k
|
||||
dWN0aXZpdHkgPGxpYnJlb2ZmaWNlQGNvbGxhYm9yYS5jb20+iQE4BBMBAgAiBQJW
|
||||
ONEfAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAMVNGJ9LooTaDIB/9K
|
||||
uZCeCT2DCQEQzLQSod88LxyOdW/zRYtlHbbjGuOQS7dv8Pup+nWd3cH2BMZYj4E3
|
||||
LYmbZDV/fG1JobNbwStrFc7BA4TTtV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r2wzIp19J5YWQVFAzwfapG02l
|
||||
hYQWkJLoQn7+6WFOZoXQ9oyAqCHHG0ugIrK/elR+YBrAgc8DJj7V5gFuNMdSSueC
|
||||
HHFaVPVHT5aVhRZLeoUYMqEJSwMtryZV9VecprBcKwDh0DpVEXVwTQ9fTz/fUunn
|
||||
AXh1DCYFqGPEwdbBVWk6+fUXs4iG2soP4bgvOrQhdpvpwYhtRzOsgxUmvBDnCqlL
|
||||
+MnrKqDao9z/8pb+ZeXbCbI/kK1Zaw21r5FwqM6Z6k5MxHnbf3Ni87DSmBX2DHFJ
|
||||
=FJ0s
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -4,9 +4,10 @@
|
|||
nextcloud_path: "{{ '/usr/share/nginx/html' if ansible_distribution_file_variety == 'RedHat' else '/var/www/html' }}"
|
||||
nextcloud_occ: "{{ nextcloud_path }}/occ"
|
||||
nginx_path: "{{ '/etc/nginx/conf.d' if ansible_distribution_file_variety == 'RedHat' else '/etc/nginx/sites-enabled' }}"
|
||||
php_ini_path: "{{ '/etc' if ansible_distribution_file_variety == 'RedHat' else '/etc/php/7.4/fpm' }}"
|
||||
php_pool_path: "{{ '/etc/php-fpm.d' if ansible_distribution_file_variety == 'RedHat' else '/etc/php/7.4/fpm/pool.d' }}"
|
||||
php_fpm_service: "{{ 'php-fpm' if ansible_distribution_file_variety == 'RedHat' else 'php7.4-fpm' }}"
|
||||
# FIXME: Set PHP version from Debian version: 7.4 for Debian 11, 7.3 for Debian 10
|
||||
php_ini_path: "{{ '/etc' if ansible_distribution_file_variety == 'RedHat' else '/etc/php/7.3/fpm' }}"
|
||||
php_pool_path: "{{ '/etc/php-fpm.d' if ansible_distribution_file_variety == 'RedHat' else '/etc/php/7.3/fpm/pool.d' }}"
|
||||
php_fpm_service: "{{ 'php-fpm' if ansible_distribution_file_variety == 'RedHat' else 'php7.3-fpm' }}"
|
||||
document_root: "{{ '/usr/share/nginx/html' if ansible_distribution_file_variety == 'RedHat' else '/var/www/html' }}"
|
||||
web_user: "{{ 'nginx' if ansible_distribution_file_variety == 'RedHat' else 'www-data' }}"
|
||||
pg_hba_conf: "{{ '/var/lib/pgsql/data/pg_hba.conf' if ansible_distribution_file_variety == 'RedHat' else '/etc/postgresql/13/main/pg_hba.conf' }}"
|
||||
|
@ -160,12 +161,12 @@
|
|||
- php-pgsql
|
||||
- php-cli
|
||||
- php-curl
|
||||
- php7.4-xml
|
||||
- php-gd
|
||||
- php-json
|
||||
- php-ldap
|
||||
- php-mbstring
|
||||
- php7.4-xml
|
||||
#- php7.4-xml # en Debián 10 la versión de PHP es 7.3 y en este paquete el 7.4 causa conflicto
|
||||
- php-xml
|
||||
#- php-xmlwriter
|
||||
- php-zip
|
||||
- php-ldap
|
||||
|
@ -181,8 +182,9 @@
|
|||
|
||||
- name: Add Collabora apt key by id from keyserver for Debian 10
|
||||
ansible.builtin.apt_key:
|
||||
keyserver: keyserver.ubuntu.com
|
||||
#keyserver: keyserver.ubuntu.com
|
||||
id: 0C54D189F4BA284D
|
||||
data: "{{ lookup('file', 'files/0C54D189F4BA284D.asc') }}"
|
||||
tags:
|
||||
- debian-collabora-repos
|
||||
- collabora
|
||||
|
@ -232,6 +234,7 @@
|
|||
# mode: '0755'
|
||||
# owner: "{{ web_user }}"
|
||||
|
||||
# FIXME: Download only once
|
||||
- name: Download Nextcloud
|
||||
ansible.builtin.unarchive:
|
||||
src: "https://download.nextcloud.com/server/releases/nextcloud-{{nextcloud_version}}.tar.bz2"
|
||||
|
|
Loading…
Reference in a new issue