Skip to content
Snippets Groups Projects
Commit 16161a69 authored by jabertwo's avatar jabertwo
Browse files

fix sendmail_plenum

parent 8e929945
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ def do_work(): ...@@ -30,7 +30,7 @@ def do_work():
# There are no topics - just exit # There are no topics - just exit
if (len(topics) == 0): if (len(topics) == 0):
exit() return True
# calculate date of next tuesday # calculate date of next tuesday
d = datetime.date.today() d = datetime.date.today()
......
...@@ -69,6 +69,13 @@ ...@@ -69,6 +69,13 @@
- mailu/overrides/postfix/postfix.cf - mailu/overrides/postfix/postfix.cf
register: config register: config
- name: "set local dns record"
become: true
blockinfile:
path: /etc/hosts
create: yes
block: |
{{ ext_ip4 }} mailserver.warpzone.ms
# - name: deploy LogRotate configs # - name: deploy LogRotate configs
# template: # template:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment