dokku / ansible-dokku

Ansible modules for installing and configuring Dokku
MIT License
176 stars 44 forks source link

dokku_image: Detect unchanged docker images #157

Closed blockloop closed 1 year ago

blockloop commented 1 year ago

I believe this fixes #156 Happy to discuss

blockloop commented 1 year ago

Temporary work around

- name: create app
  failed_when: "'error' in image_pull.meta and 'No changes detected, skipping git commit' not in image_pull.meta.error"
  register: image_pull
  dokku_image:
    app: &app nginx
    image: docker.io/nginx