-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into pr-123
- Loading branch information
Showing
15 changed files
with
121 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
warn_list: | ||
- '106' | ||
- '204' | ||
- '405' | ||
- '601' | ||
- role-name | ||
- name[play] | ||
- name[casing] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the codebase | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Publish to Galaxy | ||
uses: robertdebock/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
FROM ubuntu:16.04 | ||
FROM ubuntu:18.04 | ||
MAINTAINER Mischa ter Smitten <[email protected]> | ||
|
||
ENV LANG C.UTF-8 | ||
ENV LC_ALL C.UTF-8 | ||
|
||
# python | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal python-dev curl && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-minimal python3-dev curl && \ | ||
apt-get clean | ||
RUN curl -sL https://bootstrap.pypa.io/pip/2.7/get-pip.py | python - | ||
RUN curl -sL https://bootstrap.pypa.io/pip/3.6/get-pip.py | python3 - | ||
RUN rm -rf $HOME/.cache | ||
|
||
# ansible | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gcc libffi-dev libssl-dev && \ | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-apt && \ | ||
apt-get clean | ||
RUN pip install ansible==2.9.15 | ||
RUN pip3 install ansible==2.10.7 | ||
RUN rm -rf $HOME/.cache | ||
|
||
# provision | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ None | |
|
||
* `postfix_default_database_type` [default: `hash`]: The default database type for use in `newaliases`, `postalias` and `postmap` commands | ||
* `postfix_aliases` [default: `[]`]: Aliases to ensure present in `/etc/aliases` | ||
* `postfix_aliases_database_type` [default: `"{{ postfix_default_database_type }}"`]: The database type for aliases | ||
* `postfix_virtual_aliases` [default: `[]`]: Virtual aliases to ensure present in `/etc/postfix/virtual` | ||
* `postfix_sender_canonical_maps` [default: `[]`]: Sender address rewriting in `/etc/postfix/sender_canonical_maps` ([see](http://www.postfix.org/postconf.5.html#transport_maps)) | ||
* `postfix_sender_canonical_maps_database_type` [default: `"{{ postfix_default_database_type }}"`]: The database type for use in `postfix_sender_canonical_maps` | ||
|
@@ -69,6 +70,7 @@ None | |
* `postfix_smtpd_tls_cert_file` [default: `/etc/ssl/certs/ssl-cert-snakeoil.pem`]: Path to certificate file | ||
* `postfix_smtpd_tls_key_file` [default: `/etc/ssl/certs/ssl-cert-snakeoil.key`]: Path to key file | ||
|
||
* `postfix_smtpd_security_level` [optional]: The SMTP TLS security level for the Postfix SMTP server ([see](http://www.postfix.org/postconf.5.html#smtpd_tls_security_level)) | ||
* `postfix_raw_options` [default: `[]`]: List of lines (to pass extra (unsupported) configuration) | ||
* `postfix_smtp_tls_mandatory_ciphers` [default: `undefined`]: The minimum TLS cipher grade that the Postfix SMTP client will use with mandatory TLS ([see](https://www.postfix.org/postconf.5.html#smtp_tls_mandatory_ciphers)) | ||
* `postfix_smtp_tls_mandatory_protocols` [default: `undefined`]: TLS protocols that the Postfix SMTP client will use with mandatory TLS encryption ([see](https://www.postfix.org/postconf.5.smtp_tls_mandatory_protocols)) | ||
|
@@ -91,7 +93,7 @@ A simple example that doesn't use SASL relaying: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -104,7 +106,7 @@ A simple example with virtual aliases for mail forwarding that doesn't use SASL | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_mydestination: | ||
- "{{ postfix_hostname }}" | ||
|
@@ -125,7 +127,7 @@ A simple example that rewrites the sender address: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_sender_canonical_maps: | ||
- sender: root | ||
|
@@ -138,7 +140,7 @@ Provide the relay host name if you want to enable relaying: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -152,7 +154,7 @@ Provide the relay domain name and use MX records if you want to enable relaying | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -167,7 +169,7 @@ Conditional relaying: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_transport_maps: | ||
- pattern: '[email protected]' | ||
|
@@ -183,13 +185,27 @@ Conditional relaying: | |
result: "smtp:{{ ansible_lo['ipv4']['address'] }}:1025" | ||
``` | ||
Aliases with regexp table (forward all local mail to specified address): | ||
```yaml | ||
--- | ||
- hosts: all | ||
roles: | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases_database_type: regexp | ||
postfix_aliases: | ||
- user: /.*/ | ||
alias: [email protected] | ||
``` | ||
For AWS SES support: | ||
```yaml | ||
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -207,7 +223,7 @@ For MailHog support: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -223,7 +239,7 @@ For Gmail support: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_aliases: | ||
- user: root | ||
|
@@ -248,7 +264,7 @@ A simple example that shows how to add some raw config: | |
--- | ||
- hosts: all | ||
roles: | ||
- postfix | ||
- oefenweb.postfix | ||
vars: | ||
postfix_raw_options: | ||
- | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
collections: | ||
- name: community.docker | ||
version: '>=1.2.0,<2' | ||
- name: community.general | ||
version: '>=2,<3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# requirements file | ||
--- | ||
collections: [] |
Oops, something went wrong.