not currently, a feature request we have is that tags get 'host
expressions', so this would look like;

tag1:&tag2

but there is currently no code that does this

On Thursday, June 4, 2015, nusenu <nus...@openmailbox.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi,
>
> I have a role which supports multiple platforms (Debian, RHEL,
> FreeBSD, OpenBSD). I use 'when: ansible_pkg_mgr == ...' a lot to
> autodetect, but that results in a lot of skipping... so I thought I
> might use tags in addition, so users can choose to specifically select
> only their platform to speedup playbook runs.
>
> I would have OS specific tags in mind (debian, freebsd, ...) and task
> oriented tags (install, configure, ...).
>
> While playing with it, I noticed that '--tags debian,install' runs
> tasks that are tagged as 'debian' OR 'install' (which includes tasks
> tagged as freebsd,install -> results in lot of skipping again), is
> there a way to say run only 'debian' *AND* 'install' tagged tasks?
>
> thanks!
> nusenu
> -----BEGIN PGP SIGNATURE-----
>
> iQIcBAEBCgAGBQJVcK1HAAoJEFv7XvVCELh0sZwP/j+/YvS3+jXD3OPGFZNTwdSp
> 7EvZ15583hP5/fCm1I30ZlTBl31K4xVYiOA+AKZ7LAqNLnxT4btvPf99O/bUJ4tp
> nznR9fkOYC16FU9lFbrMa4LYG9ry189zZPWi1XlsQorNYa6erAS9N0EWmKcQfVtX
> GIOx575T/4z2qvfhOaStKahigEOUa4EspE66Eg7WoeC9gGRWC6URlx+HmDEuAL9/
> VtxNM9rFyiTshHZi2J9ERY2Cn/F/k5xnEhTD23Wk5+I76CR6B72fPBs0v6Ehm4c4
> SrWFgdzgWZy028nsWXjyOa6lnvXDrQLJhSmvynsst7jCuMK/PPvMZRh5pFR7Lc+Q
> ajx1VNxfgWO3c8qN/o13jvnkre3hEFnHhO658NEHpxM7U4W1UTkCIgd8MhknJVxr
> KDF/RxanQ3v69S54EzNDIPvQxHRXapz3bDTFPI4hynUqMR1C06FbhLhut9tokE9w
> tatUGma7Ky2vo/B+Dcqzi31Z02Vup7pdDidUBSDJcR//h6LQojU4Ew9/ZZ4tSinO
> f959P7zbqpLY9pzb0zfelK5tQ4JIuXBKqm2JoLhlS5VRnhU/iGtXS0mKm+j+AUdQ
> yffD/xukj5NqZYY/szQtSYFJTqs66vBdaQ4+jwsQMdehyR37aw0jvPNVBnT9A6gF
> BkXXJ0tjtYAvyIPmE2dS
> =3OtX
> -----END PGP SIGNATURE-----
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com <javascript:;>.
> To post to this group, send email to ansible-project@googlegroups.com
> <javascript:;>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/5570AD47.7090808%40openmailbox.org
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Brian Coca

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8khz7eK6wSSyBwNFg%2BLp1nxBWL8i3fsZnHdT3Lm89RsrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to