Try setting things this way.
This commit is contained in:
parent
a3222e0097
commit
ddd34c16ef
2 changed files with 6 additions and 1 deletions
|
@ -25,3 +25,8 @@ fas_client_groups: sysadmin-ask, sysadmin-web, sysadmin-main, sysadmin-cvs, sysa
|
||||||
# This is a postfix gateway. This will pick up gateway postfix config in base
|
# This is a postfix gateway. This will pick up gateway postfix config in base
|
||||||
#
|
#
|
||||||
postfix_group: gateway
|
postfix_group: gateway
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set this to get fasclient cron to make the aliases file
|
||||||
|
#
|
||||||
|
fas_aliases: true
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- fas_client
|
- fas_client
|
||||||
when: postfix_group == 'gateway'
|
when: fas_aliases is defined
|
||||||
|
|
||||||
- name: run fas_client only if we just installed
|
- name: run fas_client only if we just installed
|
||||||
command: fasClient -if creates=/var/db/shadow.db
|
command: fasClient -if creates=/var/db/shadow.db
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue