From c165bf0a9504f21ad7a695e573c18d7ef6f60bd1 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 5 Nov 2022 07:02:10 +0200 Subject: [PATCH] Try to make setup.yml more helpful when galaxy roles haven't been downloaded With this change, trying to run the playbook should report an error that looks like this: > The offending line appears to be: > > # Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `make roles` command (see `Makefile`). > - role: galaxy/com.devture.ansible.role.playbook_help > ^ here .. with that comment included, which might help some people who missed the `make roles` part. Improves https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2232 --- setup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.yml b/setup.yml index e3372802..8c71ac4b 100755 --- a/setup.yml +++ b/setup.yml @@ -7,10 +7,9 @@ - roles/custom/matrix-synapse/vars/workers.yml roles: - # This role has no tasks at all + # Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `make roles` command (see `Makefile`). - role: galaxy/com.devture.ansible.role.playbook_help - # This role has no tasks at all - role: galaxy/com.devture.ansible.role.systemd_docker_base - role: custom/matrix_playbook_migration