Re: [ansible-project] I have a ansible task "yum_update_kernel" but I hosts I can not update the kernel on.

2017-02-27 Thread Nehal J Wani
Probably, you are looking for applying a condition to a role: http://docs.ansible.com/ansible/playbooks_conditionals.html#applying-when-to-roles-and-includes On Sun, Feb 26, 2017 at 8:19 PM, David Brendlinger < davidbrendling...@gmail.com> wrote: > > Hello > > I have a ansible role

[ansible-project] I have a ansible task "yum_update_kernel" but I hosts I can not update the kernel on.

2017-02-27 Thread David Brendlinger
Hello I have a ansible role "yum_update_kernel" but I hosts I can not update the kernel on. can I hardcode "never run this role" if hostname is "name1" "name2" "name3" timfox123 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To