diff --git a/docs/roles/deploy_container.md b/docs/roles/deploy_container.md index 0e4fe6fc..10292af6 100644 --- a/docs/roles/deploy_container.md +++ b/docs/roles/deploy_container.md @@ -60,7 +60,6 @@ deploy_container: service_autoscale_up_cooldown: 120 service_autoscale_down_cooldown: 120 service_autoscale_target_value: 70 # the value to trigger a scaling event at - service_elb_container_name: example # the name of the container to be load balanced execution_role_arn: "arn:aws:iam::000000000000:role/ecsTaskExecutionRole" # ARN of the IAM role to run the task as, must have access to the ECR repository if applicable containers: [] # list of container definitions, see docs: https://docs.ansible.com/ansible/latest/collections/community/aws/ecs_taskdefinition_module.html#parameter-containers #cpu: 512 # these values can be set globally or per container diff --git a/roles/deploy_container/README.md b/roles/deploy_container/README.md index 0e4fe6fc..10292af6 100644 --- a/roles/deploy_container/README.md +++ b/roles/deploy_container/README.md @@ -60,7 +60,6 @@ deploy_container: service_autoscale_up_cooldown: 120 service_autoscale_down_cooldown: 120 service_autoscale_target_value: 70 # the value to trigger a scaling event at - service_elb_container_name: example # the name of the container to be load balanced execution_role_arn: "arn:aws:iam::000000000000:role/ecsTaskExecutionRole" # ARN of the IAM role to run the task as, must have access to the ECR repository if applicable containers: [] # list of container definitions, see docs: https://docs.ansible.com/ansible/latest/collections/community/aws/ecs_taskdefinition_module.html#parameter-containers #cpu: 512 # these values can be set globally or per container diff --git a/roles/deploy_container/tasks/main.yml b/roles/deploy_container/tasks/main.yml index 17f339be..05e1ffc0 100644 --- a/roles/deploy_container/tasks/main.yml +++ b/roles/deploy_container/tasks/main.yml @@ -34,6 +34,7 @@ - name: Log out of Docker registry to force a login. community.docker.docker_login: state: absent + delegate_to: localhost - name: Log into Docker registry. community.docker.docker_login: