system-config/playbooks/roles/gerrit/tasks/manage-projects.yaml
Monty Taylor cc1929d075 Add an image pull to manage-projects playbook
When we run manage-projects, we always want the latest image.

Add a task file to the gerrit role so that it can have access
to role default variables. Then call it from the playbook
with tasks_from.

Change-Id: I08bd10539d7f08e8759f1c22d66dea18821c9d42
2020-03-27 15:58:41 -05:00

6 lines
151 B
YAML

- name: Pull docker image
command: "docker pull {{ gerrit_container_image }}"
- name: Run manage-projects
command: /usr/local/bin/manage-projects