forked from AFPy/infra
Ponyconf can now read emails.
This commit is contained in:
parent
f9652e04fa
commit
ea39c0eb41
13
ponyconf.yml
13
ponyconf.yml
|
@ -9,6 +9,13 @@
|
|||
authenticator: nginx
|
||||
ponyconf_user: ponyconf
|
||||
ponyconf_home: "/home/{{ ponyconf_user }}"
|
||||
ponyconf_imap_password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66393662376362313833356630353764323934666561316337356531663761343239373663643137
|
||||
3939306166383561396136303637653961613830636639310a396237393764396566313436663062
|
||||
35326135326334613363353633623034613063326239663232663033646335363930333763326131
|
||||
3731396233613339330a663330616134633937366136613932393361363434616433663765373063
|
||||
30353439616663633734656230353736656633653532373665653237656263376536
|
||||
ponyconf_secret: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
32626263653065663534326530636136303864343934346538323232356133616263383432333566
|
||||
|
@ -271,6 +278,12 @@
|
|||
- name: Start PonyConf
|
||||
service: name=ponyconf enabled=yes state=started daemon_reload=yes
|
||||
|
||||
- name: Ponyconf fetchmail cron
|
||||
cron:
|
||||
user: "{{ ponyconf_user }}"
|
||||
name: fetchmail
|
||||
minute: "*/5"
|
||||
job: "cd /home/ponyconf/src; /home/ponyconf/venv/bin/python manage.py fetchmail --host mail.gandi.net --user cfp@pycon.fr --password {{ ponyconf_imap_password }} --settings afpy_settings"
|
||||
|
||||
handlers:
|
||||
- name: restart ponyconf
|
||||
|
|
Loading…
Reference in New Issue