Issue Type:
Bug Report
Ansible Version:
ansible 1.6
Commit: 73c883c
Environment:
Ubuntu 13.10 controlling Ubuntu 12.04.
Summary:
Tags on tasks in roles depended on by applied roles are not included in playbook runs.
Steps To Reproduce:
- Check out ansible commit 73c883c or later.
- Apply a role to a host that depends on another role containing a tag.
My minimal test setup looks like this:
Playbook:
---
- hosts: xx.xx.xx.xx
roles:
- test_tagbug/some_role
roles/test_tagbug/some_role/meta/main.yml:
---
dependencies:
- { role: test_tagbug/base }
roles/test_tagbug/base/tasks/main.yml:
---
- command: date
tags: test_tagged
Run command:
ansible-playbook tagbugtest.yml -i xx.xx.xx.xx, -u ubuntu -k --tags test_tagged
Expected Results:
I expected the tagged task to run as it does before that commit.
Actual Results:
The tagged task is not found. If it's the only task, nothing is run:
ERROR: tag(s) not found in playbook: test_tagged
Issue Type:
Bug Report
Ansible Version:
ansible 1.6
Commit: 73c883c
Environment:
Ubuntu 13.10 controlling Ubuntu 12.04.
Summary:
Tags on tasks in roles depended on by applied roles are not included in playbook runs.
Steps To Reproduce:
My minimal test setup looks like this:
Playbook:
roles/test_tagbug/some_role/meta/main.yml:
roles/test_tagbug/base/tasks/main.yml:
Run command:
Expected Results:
I expected the tagged task to run as it does before that commit.
Actual Results:
The tagged task is not found. If it's the only task, nothing is run: