)]}'
{"playbooks/roles/bifrost-create-dib-image/tasks/main.yml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"bc45d02240bd1dee8199ec5311a99dfa093e464f","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  environment: \"{{ dib_env_vars }}\""},{"line_number":125,"context_line":"  when: build_ramdisk | bool \u003d\u003d true and test_image_present.stat.exists \u003d\u003d false and test_image_dib_present.stat.exists \u003d\u003d false and test_image_initramfs_present.stat.exists \u003d\u003d false"},{"line_number":126,"context_line":"- name: \"Update permission of generated image\""},{"line_number":127,"context_line":"  command: chmod a+r {{ http_boot_folder }}/*"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5a8bc5a2_c8339e12","line":127,"updated":"2016-09-27 12:03:15.000000000","message":"We know what the output file name of this would be, I think we should try and be more specific with permission changes.  Additionally....\n1) If the variable is \"\",  this will cause some irreparable harm.  I\u0027m not sure the step could be gotten to at that point, but something to think about.\n2) You will need to elevate permissions for permission changes at this point.  I\u0027m assuming the web server is running as nobody, and can\u0027t read the files as a result. :\\\n\nDo the ipxe steps work?","commit_id":"ec631d78b0849982df69daee6fb4484e57bdb3ad"},{"author":{"_account_id":6133,"name":"yolanda.robla","email":"yroblamo@redhat.com","username":"yolanda.robla"},"change_message_id":"0e323049164d354b70e71858e47863dfd32c5224","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  environment: \"{{ dib_env_vars }}\""},{"line_number":125,"context_line":"  when: build_ramdisk | bool \u003d\u003d true and test_image_present.stat.exists \u003d\u003d false and test_image_dib_present.stat.exists \u003d\u003d false and test_image_initramfs_present.stat.exists \u003d\u003d false"},{"line_number":126,"context_line":"- name: \"Update permission of generated image\""},{"line_number":127,"context_line":"  command: chmod a+r {{ http_boot_folder }}/*"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5a8bc5a2_26f27306","line":127,"in_reply_to":"5a8bc5a2_c8339e12","updated":"2016-09-27 12:27:14.000000000","message":"You mean individually change perms to deployment_image.qcow2, ipa.kernel, etc?\nAnd you are totally right, a check for http_boot_folder!\u003d\"\" + perm elevations is needed.\nIn our case web server is running as nginx user, so it cannot read files with read-only for root.","commit_id":"ec631d78b0849982df69daee6fb4484e57bdb3ad"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"b89af51831ee7694ac8cf7c7446f8be552872262","unresolved":false,"context_lines":[{"line_number":127,"context_line":"  file:"},{"line_number":128,"context_line":"    path: \"{{ http_boot_folder }}\""},{"line_number":129,"context_line":"    mode: u\u003drwX,g\u003drX,o\u003drX"},{"line_number":130,"context_line":"    recurse: yes"},{"line_number":131,"context_line":"  when: http_boot_folder is defined and http_boot_folder !\u003d \u0027\u0027"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3a98d1f4_2ce5ad08","line":130,"updated":"2016-09-29 08:58:10.000000000","message":"Per ansbile documentation\n\nhttp://docs.ansible.com/ansible/file_module.html\n\n\"recursively set the specified file attributes (applies only to state\u003ddirectory)\"\n\nSo please set \u0027state\u003ddirectory\u0027 as well","commit_id":"f1aebbb2e02b9f8acfae2a530ed4d35c771955d1"},{"author":{"_account_id":6133,"name":"yolanda.robla","email":"yroblamo@redhat.com","username":"yolanda.robla"},"change_message_id":"c51cc6c1be32c38e06c1d685c46bff711c36367b","unresolved":false,"context_lines":[{"line_number":127,"context_line":"  file:"},{"line_number":128,"context_line":"    path: \"{{ http_boot_folder }}\""},{"line_number":129,"context_line":"    mode: u\u003drwX,g\u003drX,o\u003drX"},{"line_number":130,"context_line":"    recurse: yes"},{"line_number":131,"context_line":"  when: http_boot_folder is defined and http_boot_folder !\u003d \u0027\u0027"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3a98d1f4_9efedc69","line":130,"in_reply_to":"3a98d1f4_2ce5ad08","updated":"2016-09-29 11:28:30.000000000","message":"Done","commit_id":"f1aebbb2e02b9f8acfae2a530ed4d35c771955d1"}],"playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml":[{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"b89af51831ee7694ac8cf7c7446f8be552872262","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    - /tftpboot"},{"line_number":20,"context_line":"    - /tftpboot/pxelinux.cfg"},{"line_number":21,"context_line":"    - \"{{ http_boot_folder }}\""},{"line_number":22,"context_line":"    - \"{{ http_boot_folder }}/pxelinux.cfg\""},{"line_number":23,"context_line":"- name: \"Place tftpd map-file\""},{"line_number":24,"context_line":"  copy: src\u003dtftpboot-map-file dest\u003d/tftpboot/map-file owner\u003dironic group\u003dironic"},{"line_number":25,"context_line":"- name: \"Disable service {{ tftp_service_name }}\""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3a98d1f4_4ca039a0","line":22,"updated":"2016-09-29 08:58:10.000000000","message":"This is not a new addition but this sets \u0027state\u003ddirectory\u0027 even for pxelinux.cfg. But I presume that\u0027s fine.","commit_id":"f1aebbb2e02b9f8acfae2a530ed4d35c771955d1"},{"author":{"_account_id":6133,"name":"yolanda.robla","email":"yroblamo@redhat.com","username":"yolanda.robla"},"change_message_id":"c51cc6c1be32c38e06c1d685c46bff711c36367b","unresolved":false,"context_lines":[{"line_number":19,"context_line":"    - /tftpboot"},{"line_number":20,"context_line":"    - /tftpboot/pxelinux.cfg"},{"line_number":21,"context_line":"    - \"{{ http_boot_folder }}\""},{"line_number":22,"context_line":"    - \"{{ http_boot_folder }}/pxelinux.cfg\""},{"line_number":23,"context_line":"- name: \"Place tftpd map-file\""},{"line_number":24,"context_line":"  copy: src\u003dtftpboot-map-file dest\u003d/tftpboot/map-file owner\u003dironic group\u003dironic"},{"line_number":25,"context_line":"- name: \"Disable service {{ tftp_service_name }}\""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"3a98d1f4_be3ab834","line":22,"in_reply_to":"3a98d1f4_4ca039a0","updated":"2016-09-29 11:28:30.000000000","message":"So i have an /httpboot/pxelinux.cfg directory created, it already exists as a directory","commit_id":"f1aebbb2e02b9f8acfae2a530ed4d35c771955d1"}]}
