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
- Host: GitHub
- URL: https://github.com/aboutbits/ansible-aws-ecr-login
- Owner: aboutbits
- Created: 2021-06-10T06:13:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T06:20:54.000Z (over 2 years ago)
- Last Synced: 2025-01-08T05:51:38.950Z (about 1 year ago)
- Topics: ansible, ansible-role, aws-ecr-login
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
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
```