Push Helm chart package from Nexus registry to AWS registry

I want to write an Ansible playbook to automate the deployment of my Helm Chart packages (*.tgz) from a private Nexus registry to the AWS Cloud registry. Can you please help me by providing an example code? Thank you.

Simplest way to do it would be to write a task that does helm pull on the nexus repo and helm push to AWS.

Note that if by “AWS Cloud Registry” you mean Elastic Container Registry (ECR), that’s not for helm charts - it’s for docker images.

I’m not the ansible expert here so I’m not able to give you the task on a plate, but above is how I would go about it.