
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
6 lines
151 B
YAML
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
|