# post\_tasks not getting executed

**URL:** <https://forum.ansible.com/t/post-tasks-not-getting-executed/13164>\
**Category:** Ansible Project\
**Created:** [July 19, 2013, 2:22pm UTC](https://forum.ansible.com/t/post-tasks-not-getting-executed/13164 "2013-07-19T14:22:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_G](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Post date:** [July 19, 2013, 2:22pm UTC](https://forum.ansible.com/t/post-tasks-not-getting-executed/13164/1 "2013-07-19T14:22:52Z")

</div>

Hi All,

I have the bellow playbook :

# site.yml :

.  
.  
.

- hosts: web-servers  
user: root  
vars\_files:

- private\_vars/secret-vars.yml

- group\_vars/all.yml

- group\_vars/us-east.yml

roles:

- { role : common , tags: [‘common-role’] }
- { role : web, tags: [‘web-role’] }

post\_tasks:  
include: roles/common/tasks/clean-files.yml

.  
.  
.

Unfortunately when I run the palybook the post\_tasks action doesn’t get executed. Any help ?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [July 19, 2013, 3:01pm UTC](https://forum.ansible.com/t/post-tasks-not-getting-executed/13164/2 "2013-07-19T15:01:54Z")

</div>

Are you running it with any tags specified perhaps?

If your post tags aren’t tagged, that could be why.
