Changeset - b56ccd5a92ee
[Not reviewed]
0 18 0
Branko Majic (branko) - 7 years ago 2018-06-03 12:13:15
branko@majic.rs
MAR-129: Fixed linting errors in the test site files.
11 files changed with 15 insertions and 10 deletions:
0 comments (0 inline, 0 general)
testsite/group_vars/all.yml
Show inline comments
 
@@ -60,13 +60,13 @@ ldap_client_config:
 
    value: /etc/ssl/certs/ca.pem
 
  - comment: Enforce TLS
 
    option: TLS_REQCERT
 
    value: demand
 

	
 
# Enable and configure backups
 
enable_backup: yes
 
enable_backup: true
 

	
 
backup_additional_encryption_keys:
 
  - "{{ lookup('pipe', 'gpg2 --homedir \"' + inventory_dir + '/backup_keyring' + '\" --armor --export backup.' + testsite_domain ) }}"
 

	
 
backup_encryption_key: "{{ lookup('pipe', 'gpg2 --homedir \"' + inventory_dir + '/backup_keyring' + '\" --armor --export-secret-keys ' + ansible_fqdn ) }}"
 

	
testsite/group_vars/mail.yml
Show inline comments
 
@@ -33,7 +33,9 @@ smtp_allow_relay_from:
 
imap_max_user_connections_per_ip: 50
 

	
 
mail_server_tls_protocols:
 
  - TLSv1.2
 
  - TLSv1.1
 

	
 
mail_server_tls_ciphers: "DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA:!aNULL:!MD5:!EXPORT"
 
mail_server_tls_ciphers: "DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-GCM-SHA384:\
 
DHE-RSA-AES256-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:\
 
ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA:!aNULL:!MD5:!EXPORT"
testsite/group_vars/web.yml
Show inline comments
 
@@ -26,7 +26,9 @@ proxy_headers:
 
  Accept-Encoding: '"gzip"'
 

	
 
web_server_tls_protocols:
 
  - TLSv1.2
 
  - TLSv1.1
 

	
 
web_server_tls_ciphers: "DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA:!aNULL:!MD5:!EXPORT"
 
\ No newline at end of file
 
web_server_tls_ciphers: "DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-SHA256:\
 
DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-SHA256:ECDHE-RSA-AES128-GCM-SHA256:\
 
ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA:!aNULL:!MD5:!EXPORT"
testsite/playbooks/backup.yml
Show inline comments
 
---
 

	
 
- hosts: backup
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - mail_forwarder
 
    - backup_server
testsite/playbooks/ldap.yml
Show inline comments
 
---
 

	
 
- hosts: ldap
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - mail_forwarder
 
    - ldap_client
 
    - ldap_server
testsite/playbooks/mail.yml
Show inline comments
 
---
 

	
 
- hosts: mail
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - ldap_client
 
    - mail_server
testsite/playbooks/preseed.yml
Show inline comments
 
---
 

	
 
# Playbook for generating Debian preseed files for automating the installation.
 
- hosts: preseed
 
  roles:
 
    - preseed
testsite/playbooks/roles/phpinfo/meta/main.yml
Show inline comments
 
@@ -4,13 +4,13 @@ dependencies:
 
  - role: php_website
 
    fqdn: phpinfo.{{ testsite_domain }}
 
    php_rewrite_urls:
 
      - ^(.*) /index.php
 
    admin_uid: 3000
 
    uid: 2000
 
    enforce_https: False
 
    enforce_https: false
 
    https_tls_key: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.key') }}"
 
    https_tls_certificate: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.pem') }}"
 
    additional_fpm_config:
 
      "env[PATH]": "\"/usr/local/bin:/usr/bin:/bin\""
 
  - role: database
 
    db_name: phpinfo_{{ testsite_domain_underscores }}
testsite/playbooks/web.yml
Show inline comments
 
---
 

	
 
- hosts: web
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - ldap_client
 
    - mail_forwarder
 
    - database_server
 
    - web_server
testsite/playbooks/ws.yml
Show inline comments
 
---
 

	
 
- hosts: workstation
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - mail_forwarder
testsite/playbooks/xmpp.yml
Show inline comments
 
---
 

	
 
- hosts: xmpp
 
  remote_user: ansible
 
  become: yes
 
  become: true
 
  roles:
 
    - common
 
    - ldap_client
 
    - mail_forwarder
 
    - xmpp_server
0 comments (0 inline, 0 general)