e2a1facede
The run-accessbot playbook relies on the accessbot role which installs /etc/accessbot/channels.yaml from openstack/project-config, so needs to make sure it uses the latest copy of that file. Add the sync-project-config role before that so we'll have it. Without this, application of accessbot configuration changes always lags by one iteration, so we were perpetually applying the previous version when deploying. Change-Id: Ief318d10e7660a53cc92336d715116138ddf51b8
9 lines
192 B
YAML
9 lines
192 B
YAML
- hosts: 'eavesdrop:!disabled'
|
|
name: "eavesdrop: run accessbot"
|
|
roles:
|
|
- sync-project-config
|
|
- accessbot
|
|
tasks:
|
|
- name: Run accessbot
|
|
command: /usr/local/bin/accessbot
|