source: darkpeak-services/prod-playbook.yml @ 93b7eb7d

ansiblekeycloakmatrixpleroma
Last change on this file since 93b7eb7d was 93b7eb7d, checked in by Edward Saxton <eddsax@…>, 2 years ago

Check minimum ansible version in playbook

  • Property mode set to 100644
File size: 1.3 KB
Line 
1---
2- hosts: all
3
4  roles:
5    - git
6    - ipsilon
7    - mastodon
8    - mediawiki
9    - trac
10    - sabredav
11    - ttrss
12    - znc
13
14  become: yes
15  become_user: root
16  become_method: sudo
17
18  pre_tasks:
19    - name: Verify Ansible version
20      assert:
21        that: "ansible_version.full | version_compare('2.4', '>=')"
22        msg: "You must update Ansible to at least 2.4 to use this playbook"
23
24  vars:
25    # Setting this will install self-signed TLS certificates for local testing
26    # with Vagrant
27    development_mode: false
28
29    # Setting this will initialise the TTRSS and SABREDAV databases, DESTROYING
30    # any existing data in the process!
31    first_run: false
32
33    domain_name: darkpeak.org
34    default_web_root: /var/www
35    php_fpm_config_path: /etc/php/7.0/fpm
36    php_session_path: /var/lib/php/sessions
37    postgresql_user: postgres
38    postgresql_group: postgres
39    postgresql_locales:
40      - en_GB.UTF-8
41      - en_US.UTF-8
42
43    ldap_auth_domain: "darkpeak.org"
44    ldap_server: "id.{{ ldap_auth_domain }}"
45    ldap_port: 389
46    ldap_port_ssl: 636
47    ldap_uri: "ldap://{{ ldap_server }}/"
48    ldap_uri_ssl: "ldaps://{{ ldap_server }}/"
49    ldap_basedn: "dc=darkpeak,dc=org"
50    ldap_user_basedn: "cn=users,cn=accounts,{{ ldap_basedn }}"
51    ldap_group_basedn: "cn=groups,cn=accounts,{{ ldap_basedn }}"
52
Note: See TracBrowser for help on using the repository browser.