added frontend deployment
This commit is contained in:
parent
f0016fbf4f
commit
3ac1e15ed5
4 changed files with 30 additions and 13 deletions
|
@ -21,13 +21,13 @@ lacre_mime_conversion: 'yes'
|
|||
lacre_mail_case_insensitive: 'no'
|
||||
lacre_no_inline_dec: 'yes'
|
||||
lacre_dec_regex: 'None'
|
||||
lacre_keyhome: '/var/gpgmailgate/.gnupg'
|
||||
lacre_cert_path: '/var/gpgmailgate/smime'
|
||||
lacre_keyhome: '{{ lacre_homedir }}/.gnupg'
|
||||
lacre_cert_path: '{{ lacre_homedir }}/smime'
|
||||
lacre_register_email: 'register@example.org'
|
||||
lacre_mail_templates: '/var/gpgmailgate/register_templates'
|
||||
lacre_mail_templates: '{{ lacre_homedir }}/register_templates'
|
||||
lacre_webpanel_url: 'http://example.org'
|
||||
lacre_notification_email: 'gpg-mailgate@example.org'
|
||||
lacre_mail_templates: '/var/gpgmailgate/cron_templates'
|
||||
lacre_mail_templates: '{{ lacre_homedir }}/cron_templates'
|
||||
lacre_verbose: 'yes'
|
||||
lacre_relay: '127.0.0.1'
|
||||
lacre_port: '10028'
|
||||
|
@ -40,6 +40,12 @@ lacre_db_username: 'user'
|
|||
lacre_db_password: 'password'
|
||||
|
||||
#lacre webgate
|
||||
lacre_smtp_enabled: 'false'
|
||||
lacre_smtp_username: 'no-reply'
|
||||
lacre_smtp_password: 'chanfeme'
|
||||
lacre_smtp_host: 'example.lan'
|
||||
lacre_smtp_port: '587'
|
||||
lacre_smtp_starttls: 'true'
|
||||
lacre_cron: 'true'
|
||||
lacre_webgate_deploy: 'true'
|
||||
lacre_webgate_apt:
|
||||
|
@ -69,11 +75,6 @@ lacre_webgate_lock_cooldown: '900'
|
|||
lacre_webgate_lock_reset: '300'
|
||||
lacre_webgate_locktime_max: '3600'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#mailserver vars
|
||||
postfix_header_checks: 'false'
|
||||
postfix_body_checks: 'false'
|
||||
|
|
|
@ -5,28 +5,30 @@
|
|||
name: "{{ lacre_apt }}"
|
||||
update_cache: yes
|
||||
|
||||
- name: '[Install] - Make sure gpgmailgate home exists'
|
||||
- name: '[Install] - Make sure Lacre home exists'
|
||||
file:
|
||||
path: '{{ lacre_homedir }}'
|
||||
state: directory
|
||||
owner: '{{ lacre_username }}'
|
||||
group: '{{ lacre_group }}'
|
||||
|
||||
- name: '[Install] - Make sure gpgmailgate .gnupg dir exists'
|
||||
- name: '[Install] - Make sure Lacre .gnupg dir exists'
|
||||
file:
|
||||
path: '{{ lacre_homedir }}/.gnupg'
|
||||
state: directory
|
||||
owner: '{{ lacre_username }}'
|
||||
group: '{{ lacre_group }}'
|
||||
mode: '700'
|
||||
|
||||
- name: '[Install] - Make sure gpgmailgate smime dir exists'
|
||||
- name: '[Install] - Make sure Lacre smime dir exists'
|
||||
file:
|
||||
path: '{{ lacre_homedir }}/smime'
|
||||
state: directory
|
||||
owner: '{{ lacre_username }}'
|
||||
group: '{{ lacre_group }}'
|
||||
mode: '700'
|
||||
|
||||
- name: '[Install] - Link GnuPG direcotry to global python modules'
|
||||
- name: '[Install] - Link GnuPG Lacre to global python modules'
|
||||
file:
|
||||
src: '{{ lacre_app_dir }}/GnuPG'
|
||||
dest: '/usr/local/lib/python{{ lacre_pything_version }}/dist-packages/GnuPG'
|
||||
|
|
|
@ -11,7 +11,12 @@
|
|||
|
||||
- name: 'Configure Lacre'
|
||||
include: configure.yml
|
||||
tags:
|
||||
- 'config'
|
||||
- 'configure'
|
||||
|
||||
- name: 'Deploy frontend'
|
||||
include: frontend.yml
|
||||
tags:
|
||||
- 'frontend'
|
||||
|
||||
|
|
|
@ -65,6 +65,15 @@ send_email = yes
|
|||
notification_email = {{ lacre_notification_email }}
|
||||
mail_templates = {{ lacre_mail_templates }}
|
||||
|
||||
[smtp]
|
||||
# Settings for sending emails from your configured smtp server
|
||||
enabled = {{ lacre_smtp_enabled }}
|
||||
username = {{ lacre_smtp_username }}
|
||||
password = {{ lacre_smtp_password }}
|
||||
host = {{ lacre_smtp_host }}
|
||||
port = {{ lacre_smtp_port }}
|
||||
starttls = {{ lacre_smtp_starttls }}
|
||||
|
||||
[logging]
|
||||
# For logging to syslog. 'file = syslog', otherwise use path to the file.
|
||||
file = syslog
|
||||
|
|
Loading…
Reference in a new issue