Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[minor] Fix decrecation warning #25

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions tasks/install.deb.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
---

- name: Install requirements (Debian)
apt: name={{item}} update_cache=yes
with_items:
- postfix
- ca-certificates
- mailutils
- libsasl2-modules
apt:
update_cache: yes
name:
- postfix
- ca-certificates
- mailutils
- libsasl2-modules


- name: Install DKIM requirements (Debian)
apt: name={{item}}
apt:
name:
- opendkim
- opendkim-tools
when: postfix_dkim
with_items:
- opendkim
- opendkim-tools

- name: Install postfix-pcre
apt: pkg=postfix-pcre
apt:
name: postfix-pcre
when: postfix_rewrite_sender_address != "" or postfix_local_user_relay_address != ""
15 changes: 8 additions & 7 deletions tasks/install.yum.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---

- name: Install requirements (RedHat)
package: name={{item}}
with_items:
- postfix
- ca-certificates
- mailx
- libselinux-python
package:
name:
- postfix
- ca-certificates
- mailx
- libselinux-python

- name: Install DKIM requirements (RedHat)
package: name=opendkim
package:
name: opendkim
when: postfix_dkim