Re: [ansible-project] play_hosts - only when current_host == localhost

2014-07-07 Thread sturban
What should current_host be replaced with so that the below only runs for the host localhost? --- - hosts: all sudo: yes tasks: - name:play_hosts debug: var=play_hosts when: current_host == localhost -- Xtratherm Limited is a limited company registered in Ireland. Registered

Re: [ansible-project] play_hosts - only when current_host == localhost

2014-07-07 Thread Brian Coca
when: inventory_hostname == 'localhost'​ -- 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,