Re: [ansible-project] Re: ignore_errors does not take variable

2015-02-26 Thread shirou
Hi, This E-mail is a little bit old but I am in the same situation. ignore_errors: test_err | bool doesn't work for me on ansible 1.8.4 Is there any work around? Thank you, WAKAYAMA Shirou 2014-10-08 1:58 GMT+09:00 Yasir Saleem yasir...@gmail.com: I tried few combinations

Re: [ansible-project] Re: Managing Primary/Secondary relationship in cluster

2014-11-04 Thread shirou
Another way is 'differenct'. (see http://docs.ansible.com/playbooks_variables.html#set-theory-filters) - debug: msg={{ (groups['pair'] | difference(inventory_hostname))[0] }} The result is list, not a value. So it requires [0] to get actual hostname. It works if there are more hosts.

Re: [ansible-project] reboot on RHEL7

2014-10-04 Thread shirou
update % ansible-playbook --version ansible-playbook 1.8 configured module search path = None # Should I make a new issue ticket? Regards, WAKAYAMA Shirou 2014-10-04 3:39 GMT+09:00 James Cammarata jcammar...@ansible.com: Hi Shirou, I believe this error was fixed in devel, if you'd like

[ansible-project] reboot on RHEL7

2014-10-03 Thread shirou
ERROR: unexpected error: unable to determine jid --- Is this systemd related problem? Thank you, WAKAYAMA Shirou -- 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

Re: [ansible-project] PROPOSAL: 'description' parameter

2014-10-03 Thread shirou
needed for good documentation, but 'description' parameter or something like that is a good start point, I think. Regards, WAKAYAMA Shirou 2014-10-03 5:50 GMT+09:00 Michael DeHaan mich...@ansible.com: Right, I think I'm leaning on # for YAML comments. The only disadvantage is if you had

[ansible-project] PROPOSAL: 'description' parameter

2014-10-01 Thread shirou
some: thing other: thing - include: other.yml description: - include can have description also I have made PR which make very small change. https://github.com/ansible/ansible/pull/9230 Thanks for your feedback. [1] Sphinx: http://sphinx-doc.org/ WAKAYAMA Shirou -- You

Re: [ansible-project] PROPOSAL: 'description' parameter

2014-10-01 Thread shirou
description not only a playbook but also tasks or includes which can not define variables. My gut feeling is some playbook output tool would have to exist to want to do that first. It could be. But it will bring complexity. Regards, WAKAYAMA Shirou 2014-10-01 20:59 GMT+09:00 Michael DeHaan mich

[ansible-project] tags as variables

2013-11-21 Thread shirou
] ** fatal: [local] = One or more undefined variables: 'tags' is undefined Is there a way to use tags as variables? Thanks, WAKAYAMA Shirou -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop