mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 00:30:06 +08:00
Try setting things this way.
This commit is contained in:
@@ -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
|
||||
#
|
||||
postfix_group: gateway
|
||||
|
||||
#
|
||||
# Set this to get fasclient cron to make the aliases file
|
||||
#
|
||||
fas_aliases: true
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
tags:
|
||||
- config
|
||||
- fas_client
|
||||
when: postfix_group == 'gateway'
|
||||
when: fas_aliases is defined
|
||||
|
||||
- name: run fas_client only if we just installed
|
||||
command: fasClient -if creates=/var/db/shadow.db
|
||||
|
||||
Reference in New Issue
Block a user