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
changes/14/800314/1
Jeremy Stanley 1 year ago
parent 4bda99ee47
commit e2a1facede
  1. 1
      playbooks/run-accessbot.yaml

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

Loading…
Cancel
Save