Sync project-config before deploying accessbot

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
This commit is contained in:
Jeremy Stanley 2021-07-09 23:15:52 +00:00
parent 4bda99ee47
commit e2a1facede

View File

@ -1,6 +1,7 @@
- hosts: 'eavesdrop:!disabled' - hosts: 'eavesdrop:!disabled'
name: "eavesdrop: run accessbot" name: "eavesdrop: run accessbot"
roles: roles:
- sync-project-config
- accessbot - accessbot
tasks: tasks:
- name: Run accessbot - name: Run accessbot