I did some searching in the forums, and there seems to be a few posts regarding tags and includes, but none of them seem to explicitly answer what I'm envisioning in my head.
As mentioned previously, in my efforts to simplify the setup, I would like to have one cron.yaml file, which has all crons possible, with tags. So, conceptually you have: *cron.yaml -->* > *...* > *tasks:* > > * - cron: blah blah* > * tags:* > * - boxtype1* > > * - cron blah blah2* > * tags:* > * - boxtype 2* > > * - cron blah blah3* > * tags:* > * - all* > With that being said, I'd like to have a "boxtype1.yaml" file that has something like: *- include: cron.yaml -- tags=all,boxtype1* *or* *- include cron.yaml tags=all,boxtype1* I'm well aware about passing variables via this method, as discussed in one of my previous posts, but either way, it seems to run all entries in cron.yaml and not the sepcific one (it should be noted, running from the command line with --tags= works, so i know the cron.yaml syntax is "correct" Is this possible? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
