diff --git a/docs/index.html b/docs/index.html index 465d02c..4e513f2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -156,6 +156,13 @@
This is a string which specifies the default database type used by
+postfix, which is obtained by using
+postconf -h default_database_type
. This can be used to set
+configuration which depends on the type. NOTE this is
+not supported with Ansible 2.9.
- name: Manage postfix
+ hosts: all
+ vars:
+ postfix_conf:
+ relay_domains: "{{ postfix_default_database_type }}:/etc/postfix/relay_domains"
+ roles:
+ - linux-system-roles.postfix
There is no way to remove separate configuration parameters. As a
workaround, you can use postfix_conf
's
@@ -287,52 +311,52 @@
Install and enable postfix. Configure
relay_domains=$mydestination
and
relayhost=example.com
.
---
-- name: Manage postfix
- hosts: all
- vars:
- postfix_conf:
- relay_domains: $mydestination
- relayhost: example.com
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do not run 'postfix check' before -restarting postfix:
---
-- name: Manage postfix with no check
+- name: Manage postfix
hosts: all
vars:
- postfix_check: false
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do single backup of main.cf (older backup
-will be rewritten) and configure relayhost=example.com
:
Install and enable postfix. Do not run 'postfix check' before +restarting postfix:
---
-- name: Manage postfix with relayhost
+- name: Manage postfix with no check
hosts: all
vars:
- postfix_conf:
- relayhost: example.com
- postfix_backup: true
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do timestamped backup of main.cf and
-configure relayhost=example.com
(if
-postfix_backup_multiple
is set to true
-postfix_backup
is ignored):
Install and enable postfix. Do single backup of main.cf (older backup
+will be rewritten) and configure relayhost=example.com
:
---
-- name: Manage postfix with multiple backups
+- name: Manage postfix with relayhost
hosts: all
vars:
postfix_conf:
relayhost: example.com
- postfix_backup_multiple: true
+ postfix_backup: true
roles:
- linux-system-roles.postfix
Install and enable postfix. Do timestamped backup of main.cf and
+configure relayhost=example.com
(if
+postfix_backup_multiple
is set to true
+postfix_backup
is ignored):
---
+- name: Manage postfix with multiple backups
+ hosts: all
+ vars:
+ postfix_conf:
+ relayhost: example.com
+ postfix_backup_multiple: true
+ roles:
+ - linux-system-roles.postfix
See README-ostree.md
This is a string which specifies the default database type used by
+postfix, which is obtained by using
+postconf -h default_database_type
. This can be used to set
+configuration which depends on the type. NOTE this is
+not supported with Ansible 2.9.
- name: Manage postfix
+ hosts: all
+ vars:
+ postfix_conf:
+ relay_domains: "{{ postfix_default_database_type }}:/etc/postfix/relay_domains"
+ roles:
+ - linux-system-roles.postfix
There is no way to remove separate configuration parameters. As a
workaround, you can use postfix_conf
's
@@ -287,52 +311,52 @@
Install and enable postfix. Configure
relay_domains=$mydestination
and
relayhost=example.com
.
---
-- name: Manage postfix
- hosts: all
- vars:
- postfix_conf:
- relay_domains: $mydestination
- relayhost: example.com
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do not run 'postfix check' before -restarting postfix:
---
-- name: Manage postfix with no check
+- name: Manage postfix
hosts: all
vars:
- postfix_check: false
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do single backup of main.cf (older backup
-will be rewritten) and configure relayhost=example.com
:
Install and enable postfix. Do not run 'postfix check' before +restarting postfix:
---
-- name: Manage postfix with relayhost
+- name: Manage postfix with no check
hosts: all
vars:
- postfix_conf:
- relayhost: example.com
- postfix_backup: true
- roles:
- - linux-system-roles.postfix
Install and enable postfix. Do timestamped backup of main.cf and
-configure relayhost=example.com
(if
-postfix_backup_multiple
is set to true
-postfix_backup
is ignored):
Install and enable postfix. Do single backup of main.cf (older backup
+will be rewritten) and configure relayhost=example.com
:
---
-- name: Manage postfix with multiple backups
+- name: Manage postfix with relayhost
hosts: all
vars:
postfix_conf:
relayhost: example.com
- postfix_backup_multiple: true
+ postfix_backup: true
roles:
- linux-system-roles.postfix
Install and enable postfix. Do timestamped backup of main.cf and
+configure relayhost=example.com
(if
+postfix_backup_multiple
is set to true
+postfix_backup
is ignored):
---
+- name: Manage postfix with multiple backups
+ hosts: all
+ vars:
+ postfix_conf:
+ relayhost: example.com
+ postfix_backup_multiple: true
+ roles:
+ - linux-system-roles.postfix
See README-ostree.md