# How to force deployment via ansible playbook with ECS modules?

**URL:** <https://forum.ansible.com/t/how-to-force-deployment-via-ansible-playbook-with-ecs-modules/28611>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [September 20, 2018, 11:03am UTC](https://forum.ansible.com/t/how-to-force-deployment-via-ansible-playbook-with-ecs-modules/28611 "2018-09-20T11:03:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljubon](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@ljubon](https://forum.ansible.com/u/ljubon)\
**Post date:** [September 20, 2018, 11:03am UTC](https://forum.ansible.com/t/how-to-force-deployment-via-ansible-playbook-with-ecs-modules/28611/1 "2018-09-20T11:03:12Z")

</div>

Hello, I would like to check if it’s possible to force deployment via ansible playbook with ECS modules?

**example:**  
cluster: test-cluster  
services: test-service  
region: us-east-2

I know it can be done via AWS CLI, but I want to do it with ansible.

AWS CLI command **- aws ecs update-service -cluster test-cluster --service test-service --force-new-deployment --region us-east-2**

Please help to find out if some of anible ecs module can do this?  
So far, i found following modules, but none of those has options to force new deployment.  
ECS modules: ecs\_service, ecs\_task, ecs\_atribute, ecs\_service\_fact…
