324bc41097
* Add support for Docker plugins * support multiple Docker plugins using looped include * fix yamllint error
8 lines
294 B
YAML
8 lines
294 B
YAML
---
|
|
- name: Install Docker plugin
|
|
command: docker plugin install --grant-all-permissions {{ docker_plugin | quote }}
|
|
when: docker_plugin is defined
|
|
register: docker_plugin_status
|
|
failed_when:
|
|
- docker_plugin_status.failed
|
|
- '"already exists" not in docker_plugin_status.stderr'
|