An open API service indexing awesome lists of open source software.

https://github.com/aboutbits/ansible-aws-ecr-login

Ansible - AWS ECR Login Role
https://github.com/aboutbits/ansible-aws-ecr-login

ansible ansible-role aws-ecr-login

Last synced: 12 months ago
JSON representation

Ansible - AWS ECR Login Role

Awesome Lists containing this project

README

          

Ansible AWS ECR Login Role
==========================

Login to AWS ECR role.

## Role Variables

- `aws_ecr_login_repository`: The AWS ECR repository

## Example Playbook

```yaml
- hosts: all
tasks:
- ansible.builtin.include_role:
ansible-aws-ecr-login
vars:
aws_ecr_login_repository: xxx.dkr.ecr.eu-west-1.amazonaws.com
```

## Versioning

In order to have a verioning in place and working, create leightweight tags that point to the appropriate minor release versions.

Creating a new minor release:

```bash
git tag v2
git push --tags
```

Replacing an already existing minor release:

```bash
git tag -d v2
git push origin :refs/tags/v2
git tag v2
git push --tags
```