Merge pull request 'cleanup passbolt and bbb' (#76) from cleanup into master

Reviewed-on: #76
Reviewed-by: jeltz <jeltz@noreply@auro.re>
This commit is contained in:
erdnaxe 2021-11-28 11:15:46 +01:00
commit 2c238d17c3
3 changed files with 0 additions and 52 deletions

View file

@ -41,9 +41,6 @@ loc_reverseproxy:
- from: intranet.auro.re - from: intranet.auro.re
to: 10.128.0.20 to: 10.128.0.20
- from: bbb.auro.re
to: 10.128.0.54
- from: nextcloud.auro.re - from: nextcloud.auro.re
to: "10.128.0.58:8080" to: "10.128.0.58:8080"

View file

@ -1,10 +0,0 @@
---
# URL to clone
passbolt_repo: https://github.com/passbolt/passbolt_api.git
passbolt_version: v2.10.0
# Install target
passbolt_path: /var/www/passbolt
# User used to run passbolt
passbolt_user: www-data

View file

@ -1,39 +0,0 @@
---
# See https://help.passbolt.com/hosting/install/ce/from-source.html
- name: Clone passbolt project
git:
repo: "{{ passbolt_repo }}"
dest: "{{ passbolt_path }}"
version: "{{ passbolt_version }}"
become: true
become_user: "{{ passbolt_user }}"
- name: Install passbolt dependencies
apt:
name:
- composer
- php-fpm
- php-intl
- php-gnupg
- php-gd
- php-mysql
- nginx
- mariadb-server
state: present
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
# Setup dependencies
- name: Install passbolt PHP dependencies
composer:
command: install
working_dir: "{{ passbolt_path }}"
no_dev: true
become: true
become_user: "{{ passbolt_user }}"
register: composer_result
retries: 3
until: composer_result is succeeded