Skip to content

limepepper/ansible-tags-article-code-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic includes article code

This repo contains the code to accompany the article here;

http://limepepper.co.uk/ansible/2018/02/04/ansible-tagged-tasks-1.html

When debugging a role or playbook it's useful to be able to run just a few tasks at once. Especially once your configuration gets sizable. Ansible supports a tags feature, however it's not as straightforward to use this feature as you might expect if you make use of include_role or include_tasks

The problem referenced in the article is fixed in ansible 2.5.0