source: darkpeak-services/dev-playbook-template.yml

Last change on this file was 90966788, checked in by Mat Booth <mbooth@…>, 15 months ago

#63 - Fix wiki login issues by ensuring php 7.3 versions of all our deps are installed

  • Property mode set to 100644
File size: 2.4 KB
Line 
1---
2- hosts: all
3
4  roles:
5    - git
6    - ipsilon
7    - pleroma
8    - mediawiki
9    - pages
10    - sabredav
11    - trac
12    - ttrss
13    - znc
14
15  become: yes
16  become_user: root
17  become_method: sudo
18
19  pre_tasks:
20    - name: Verify Ansible version
21      assert:
22        that: "ansible_version.full is version_compare('2.4', '>=')"
23        msg: "You must update Ansible to at least 2.4 to use this playbook"
24
25  vars:
26    # Setting this will install self-signed TLS certificates for local testing
27    # with Vagrant
28    development_mode: true
29
30    # Setting this will initialise the TTRSS and SABREDAV databases, DESTROYING
31    # any existing data in the process!
32    first_run: false
33
34    domain_name: darkpeak.localhost
35    default_web_root: /var/www
36    php_fpm_config_path: /etc/php/7.3/fpm
37    php_session_path: /var/lib/php/sessions
38    postgresql_user: postgres
39    postgresql_group: postgres
40    postgresql_locales:
41      - en_GB.UTF-8
42      - en_US.UTF-8
43
44    ldap_auth_domain: "darkpeak.org"
45    # see: https://issues.darkpeak.org/ticket/2#comment:10
46    # ldap_server: "id.{{ ldap_auth_domain }}"
47    ldap_server: "213.138.110.5"
48    ldap_port: 389
49    ldap_port_ssl: 636
50    ldap_uri: "ldap://{{ ldap_server }}/"
51    ldap_uri_ssl: "ldaps://{{ ldap_server }}/"
52    ldap_basedn: "dc=darkpeak,dc=org"
53    ldap_user_basedn: "cn=users,cn=accounts,{{ ldap_basedn }}"
54    ldap_group_basedn: "cn=groups,cn=accounts,{{ ldap_basedn }}"
55
56    ttrss_postgresql_password: "correcthorsebatterystaple"
57    sabredav_mysql_password: "correcthorsebatterystaple"
58    trac_postgresql_password: "correcthorsebatterystaple"
59    mediawiki_admin_pass: "correcthorsebatterystaple"
60
61    # NOTE: when setting a plain text value for development, it must be at least 64 bytes long
62    # e.g. d58db5c0e6ff8833be6eaf4be708f557348c5bd3fa00d1a5ab5ad8984e157380 123
63    pleroma_secret_key_base: "d58db5c0e6ff8833be6eaf4be708f557348c5bd3fa00d1a5ab5ad8984e157380"
64
65    pleroma_postgresql_password: "correcthorsebatterystaple"
66
67    # For development you can use: "BE2DT5J3ajLCCeYhDIOltgD3XmVOFxd6DhXoo5eubtl654utL2fyLURKF3r0zlv6TqCo4VDg_LQMVpT5IeDcaG4"
68    pleroma_web_push_public_key: "BE2DT5J3ajLCCeYhDIOltgD3XmVOFxd6DhXoo5eubtl654utL2fyLURKF3r0zlv6TqCo4VDg_LQMVpT5IeDcaG4"
69
70    # For development you can use: "VhL4NlvINn5VGbxluCQrR-Iy3AFvtA4wWKH1B8vsiVk"
71    pleroma_web_push_private_key: "VhL4NlvINn5VGbxluCQrR-Iy3AFvtA4wWKH1B8vsiVk"
Note: See TracBrowser for help on using the repository browser.