)]}'
{"ansible/roles/baremetal/tasks/append_to_etc_hosts.yml":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"64791c71b86021b5b3d3dd3752b416d63cdfae39","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: get real node ip"},{"line_number":8,"context_line":"  shell: ip -4 addr show \"{{ baremetal_nic }}\" | grep -oP \"(?\u003c\u003dinet )[\\d\\.]+(?\u003d/)\""},{"line_number":9,"context_line":"  register: real_node_ip"},{"line_number":10,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":11,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1ac06dbe_f029449c","line":8,"range":{"start_line":8,"start_character":25,"end_line":8,"end_character":46},"updated":"2016-08-23 18:36:21.000000000","message":"this can be different for each node in the cloud so we have\nto get the value for the node we are delegating to not the node we are currently on.","commit_id":"6de36dab5ed92d83ac39d2ebe6279da82bb35871"},{"author":{"_account_id":14287,"name":"Waldemar Znoinski","email":"wznoinsk@redhat.com","username":"wznoinsk"},"change_message_id":"f7a7ec64b2a6a0ed0e2d40f02851c369222230c3","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: get real node ip"},{"line_number":8,"context_line":"  shell: ip -4 addr show \"{{ baremetal_nic }}\" | grep -oP \"(?\u003c\u003dinet )[\\d\\.]+(?\u003d/)\""},{"line_number":9,"context_line":"  register: real_node_ip"},{"line_number":10,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":11,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1ac06dbe_09a20099","line":8,"range":{"start_line":8,"start_character":29,"end_line":8,"end_character":43},"updated":"2016-08-23 17:50:53.000000000","message":"wouldn\u0027t it be better to calculate it in group_vars/all similar to\napi_interface_address:  \"{{ hostvars[inventory_hostname][\u0027ansible_\u0027 + api_interface][\u0027ipv4\u0027][\u0027address\u0027] if orchestration_engine \u003d\u003d \u0027ANSIBLE\u0027 else \u00270.0.0.0\u0027 }}\"\n ?","commit_id":"6de36dab5ed92d83ac39d2ebe6279da82bb35871"},{"author":{"_account_id":10787,"name":"Michal Jastrzebski (inc0)","email":"michal.jastrzebski@intel.com","username":"inc0"},"change_message_id":"a6ed19849678de5f9cec28009faaa336bc7aa47e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: get real node ip"},{"line_number":8,"context_line":"  shell: ip -4 addr show \"{{ baremetal_nic }}\" | grep -oP \"(?\u003c\u003dinet )[\\d\\.]+(?\u003d/)\""},{"line_number":9,"context_line":"  register: real_node_ip"},{"line_number":10,"context_line":"  delegate_to: \"{{ baremetal_node }}\""},{"line_number":11,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1ac06dbe_f60f4186","line":8,"updated":"2016-08-24 15:07:02.000000000","message":"yes and no. It will be different but you specify it in globals, so will stay the same. Unless you override it in inventory, but then it will work exactly as Waldek described. We do this all the time:)","commit_id":"6de36dab5ed92d83ac39d2ebe6279da82bb35871"}]}
