added configurations for email workers
This commit is contained in:
parent
c69b192c41
commit
ca0b62bcfe
|
@ -3,4 +3,13 @@ conductor_workers_server: http://conductor-dev.int.d4science.net/api
|
||||||
|
|
||||||
conductor_workers: [ { service: 'base', image: 'nubisware/nubisware-conductor-worker-py-base', replicas: 2, threads: 1, pollrate: 1 }]
|
conductor_workers: [ { service: 'base', image: 'nubisware/nubisware-conductor-worker-py-base', replicas: 2, threads: 1, pollrate: 1 }]
|
||||||
|
|
||||||
|
pymail_server: "smtp-relay.d4science.org"
|
||||||
|
pymail_user: "conductor_{{ infrastructure }}"
|
||||||
|
pymail_protocol: "starttls"
|
||||||
|
pymail_port: "587"
|
||||||
|
|
||||||
|
#smtp_dev_pwd: in vault
|
||||||
|
#smtp_pre_pwd: in vault
|
||||||
|
#smtp_prod_pwd: in vault
|
||||||
|
|
||||||
#{service: 'provisioning', image: 'nubisware/nubisware-conductor-worker-py-provisioning', replicas: 2, threads: 1, pollrate: 1 }
|
#{service: 'provisioning', image: 'nubisware/nubisware-conductor-worker-py-provisioning', replicas: 2, threads: 1, pollrate: 1 }
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
62323839306636626530646263356365643863653430393837343037643461666230333037383239
|
||||||
|
6266363838393538643739393765656165613161396236330a323834623936373933643335306163
|
||||||
|
33323739663463326265613663363132383364336432646237666466663061393631623239306266
|
||||||
|
6363396363326364310a376362313934653933613939313463653865363538363935333866366164
|
||||||
|
36373062353631356632356230316535616666633265326136343061303962633163393264316431
|
||||||
|
31623730623764363763633939373963333333343731376466613437386264653461616263306530
|
||||||
|
63663032653030643239643830346631303766393136363337626635633664353635363161313562
|
||||||
|
63623733613039646465386434396238336637626632616566323734303362653633373936393532
|
||||||
|
3665
|
|
@ -7,3 +7,10 @@ pollrate = .1
|
||||||
domain={{ item.domain }}
|
domain={{ item.domain }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
[pymail]
|
||||||
|
server = {{ pymail_server}}
|
||||||
|
user = {{ pymail_user }}
|
||||||
|
password = {{ pymail_password }}
|
||||||
|
protocol = {{ pymail_protocol }}
|
||||||
|
port = {{ pymail_port }}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
---
|
---
|
||||||
- hosts: dev_infra
|
- hosts: dev_infra
|
||||||
|
vars_files:
|
||||||
|
- roles/workers/defaults/smtp.yaml
|
||||||
vars:
|
vars:
|
||||||
cluster_check: true
|
cluster_check: true
|
||||||
infrastructure: dev
|
infrastructure: dev
|
||||||
|
pymail_password: "{{ smtp_dev_pwd }}"
|
||||||
conductor_workers_server: http://conductor-server:8080/api
|
conductor_workers_server: http://conductor-server:8080/api
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
- hosts: pre_infra
|
- hosts: pre_infra
|
||||||
vars_files:
|
vars_files:
|
||||||
- roles/external-postgres/defaults/vault_main.yaml
|
- roles/external-postgres/defaults/vault_main.yaml
|
||||||
|
- roles/workers/defaults/smtp.yaml
|
||||||
vars:
|
vars:
|
||||||
cluster_check: true
|
cluster_check: true
|
||||||
infrastructure: pre
|
infrastructure: pre
|
||||||
|
pymail_password: "{{ smtp_pre_pwd }}"
|
||||||
conductor_workers_server: http://conductor-server:8080/api
|
conductor_workers_server: http://conductor-server:8080/api
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
- hosts: prod_infra
|
- hosts: prod_infra
|
||||||
vars_files:
|
vars_files:
|
||||||
- roles/external-postgres/defaults/vault_main.yaml
|
- roles/external-postgres/defaults/vault_main.yaml
|
||||||
|
- roles/workers/defaults/smtp.yaml
|
||||||
vars:
|
vars:
|
||||||
cluster_check: true
|
cluster_check: true
|
||||||
conductor_workers_server: http://conductor-server:8080/api
|
conductor_workers_server: http://conductor-server:8080/api
|
||||||
|
pymail_password: "{{ smtp_prod_pwd }}"
|
||||||
postgres_jdbc_pass: '{{ jdbc_pass }}'
|
postgres_jdbc_pass: '{{ jdbc_pass }}'
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|
Loading…
Reference in New Issue