Ansible tag with include

11 views
Skip to first unread message

tailo...@gmail.com

unread,
Aug 3, 2017, 3:29:27 PM8/3/17
to Ansible Project

With latest Ansible 2.3.1, I was not able to use tags with include statemenet

my code looks like this

ansible-playbook -i inventories/app.inventory -v -e "host=resource" test.yml

and heres test.yml.

- include: pipe.yml tags=upgrade source_file=pipe_list.txt


Thanks

Kai Stian Olstad

unread,
Aug 3, 2017, 5:11:01 PM8/3/17
to ansible...@googlegroups.com
You test.yml is not a valid playbook, so you should have a error message
indicating that.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages