thiagoalmeidasa / ansible-role-aws-ecr-credential-helper

Ansible role for aws ecr credential helper
https://galaxy.ansible.com/thiagoalmeidasa/aws_ecr_credential_helper
4 stars 5 forks source link

Configure Docker config.json for multiple users #17

Closed bertiewils closed 1 year ago

bertiewils commented 1 year ago

These changes:

This is the most portable/readable way I could do it.

The alternative would be to have with_items: "{{ aws_ecr_cred_helper_users }}" on every task in tasks/configure-docker-json.yml.

Let me know your thoughts.

Tested on Ubuntu 22.04.