Appending/extending variables

15 views
Skip to first unread message

Ilin

unread,
Apr 12, 2014, 7:05:49 PM4/12/14
to ansible...@googlegroups.com
Hi,

I would like to manage cron via a template in /etc/cron.d/ansible_crontab for example

I would like to have a default variable in the role

crontab: []

That will get appended in
group_vars/all
group_vars/group1
...
..
.

host_vars/host1
...
..
.

At the end i will just have to manage one list of dictionaries in my template. Is this possible?



Thanks,
ilin
Reply all
Reply to author
Forward
0 new messages