)]}'
{"common/deploy-steps-tasks.yaml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b03ec93fc9ed250a8e847b6c26ad70b57bd2dcf3","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"- name: Calculate container_puppet_tasks for {{ansible_hostname | lower}} step {{step}}"},{"line_number":164,"context_line":"  set_fact:"},{"line_number":165,"context_line":"    \"{{ \u0027host_container_puppet_tasks_\u0027 + step }}\": \"{{ lookup(\u0027vars\u0027, \u0027host_container_puppet_tasks_\u0027 + step, default\u003d[]) + [item] }}\""},{"line_number":166,"context_line":"  loop: \"{{container_puppet_tasks.get(\u0027step_\u0027 + step, [])}}\""},{"line_number":167,"context_line":"  when: (groups[item.service_name] | default ([]) | map(\u0027extract\u0027, hostvars, \u0027inventory_hostname\u0027) | sort | first | lower) \u003d\u003d ansible_hostname | lower"},{"line_number":168,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_aedb624c","line":165,"range":{"start_line":165,"start_character":121,"end_line":165,"end_character":122},"updated":"2020-04-02 13:58:40.000000000","message":"To combine lists we should use the `union` filter: https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#set-theory-filters\n\n  ... | union([item])","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b03ec93fc9ed250a8e847b6c26ad70b57bd2dcf3","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"- name: Calculate container_puppet_tasks for {{ansible_hostname | lower}} step {{step}}"},{"line_number":164,"context_line":"  set_fact:"},{"line_number":165,"context_line":"    \"{{ \u0027host_container_puppet_tasks_\u0027 + step }}\": \"{{ lookup(\u0027vars\u0027, \u0027host_container_puppet_tasks_\u0027 + step, default\u003d[]) + [item] }}\""},{"line_number":166,"context_line":"  loop: \"{{container_puppet_tasks.get(\u0027step_\u0027 + step, [])}}\""},{"line_number":167,"context_line":"  when: (groups[item.service_name] | default ([]) | map(\u0027extract\u0027, hostvars, \u0027inventory_hostname\u0027) | sort | first | lower) \u003d\u003d ansible_hostname | lower"},{"line_number":168,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_cef506cd","line":165,"range":{"start_line":165,"start_character":101,"end_line":165,"end_character":102},"updated":"2020-04-02 13:58:40.000000000","message":"we should change this to \"~\" for concatenation instead of addition.","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b03ec93fc9ed250a8e847b6c26ad70b57bd2dcf3","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"- name: Calculate container_puppet_tasks for {{ansible_hostname | lower}} step {{step}}"},{"line_number":164,"context_line":"  set_fact:"},{"line_number":165,"context_line":"    \"{{ \u0027host_container_puppet_tasks_\u0027 + step }}\": \"{{ lookup(\u0027vars\u0027, \u0027host_container_puppet_tasks_\u0027 + step, default\u003d[]) + [item] }}\""},{"line_number":166,"context_line":"  loop: \"{{container_puppet_tasks.get(\u0027step_\u0027 + step, [])}}\""},{"line_number":167,"context_line":"  when: (groups[item.service_name] | default ([]) | map(\u0027extract\u0027, hostvars, \u0027inventory_hostname\u0027) | sort | first | lower) \u003d\u003d ansible_hostname | lower"},{"line_number":168,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_eefa8aba","line":165,"range":{"start_line":165,"start_character":39,"end_line":165,"end_character":40},"updated":"2020-04-02 13:58:40.000000000","message":"we should change this to \"~\" for concatenation instead of addition.","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"},{"author":{"_account_id":8833,"name":"Rabi Mishra","email":"ramishra@redhat.com","username":"rabi"},"change_message_id":"c68abb67650bf8cbfe4d0c9d1bab4c193975a611","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"- name: Calculate container_puppet_tasks for {{ansible_hostname | lower}} step {{step}}"},{"line_number":164,"context_line":"  set_fact:"},{"line_number":165,"context_line":"    \"{{ \u0027host_container_puppet_tasks_\u0027 + step }}\": \"{{ lookup(\u0027vars\u0027, \u0027host_container_puppet_tasks_\u0027 + step, default\u003d[]) + [item] }}\""},{"line_number":166,"context_line":"  loop: \"{{container_puppet_tasks.get(\u0027step_\u0027 + step, [])}}\""},{"line_number":167,"context_line":"  when: (groups[item.service_name] | default ([]) | map(\u0027extract\u0027, hostvars, \u0027inventory_hostname\u0027) | sort | first | lower) \u003d\u003d ansible_hostname | lower"},{"line_number":168,"context_line":"  vars:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_644fbb6a","line":165,"range":{"start_line":165,"start_character":39,"end_line":165,"end_character":40},"in_reply_to":"df33271e_eefa8aba","updated":"2020-04-02 14:50:47.000000000","message":"We use it everywhere though;)\n\nhttps://github.com/openstack/tripleo-heat-templates/blob/master/common/deploy-steps-tasks-step-1.yaml#L217","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b03ec93fc9ed250a8e847b6c26ad70b57bd2dcf3","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":"- name: Include container-puppet tasks for step {{step}}"},{"line_number":174,"context_line":"  include_tasks: host-container-puppet-tasks.yaml"},{"line_number":175,"context_line":"  when: (\u0027host_container_puppet_tasks_\u0027 + step)  is defined"},{"line_number":176,"context_line":"  tags:"},{"line_number":177,"context_line":"    - container_config_tasks"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_2e0112b0","line":175,"range":{"start_line":175,"start_character":40,"end_line":175,"end_character":41},"updated":"2020-04-02 13:58:40.000000000","message":"we should change this to \"~\" for concatenation instead of addition.","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"}],"common/host-container-puppet-tasks.yaml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b03ec93fc9ed250a8e847b6c26ad70b57bd2dcf3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"- name: Write container-puppet-tasks json file for {{ansible_hostname | lower}} step {{step}}"},{"line_number":2,"context_line":"  no_log: True"},{"line_number":3,"context_line":"  copy:"},{"line_number":4,"context_line":"    content: \"{{ lookup (\u0027vars\u0027, \u0027host_container_puppet_tasks_\u0027 + step, default\u003d[]) | to_nice_json}}\""},{"line_number":5,"context_line":"    dest: \"/var/lib/container-puppet/container-puppet-tasks{{step}}.json\""},{"line_number":6,"context_line":"    force: yes"},{"line_number":7,"context_line":"    mode: \u00270600\u0027"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"df33271e_eee8cae2","line":4,"range":{"start_line":4,"start_character":64,"end_line":4,"end_character":65},"updated":"2020-04-02 13:58:40.000000000","message":"we should change this to \"~\" for concatenation instead of addition.","commit_id":"094324efa03feaf700cb48da9bcabb2285433e36"}]}
