)]}'
{"tasks/lxc_cache_preparation.yml":[{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"3104bb01814ce52229942ce950f382ac63c6457a","unresolved":false,"context_lines":[{"line_number":151,"context_line":"    path: /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":152,"context_line":"    state: absent"},{"line_number":153,"context_line":"  when:"},{"line_number":154,"context_line":"    - ansible_pkg_mgr \u003d\u003d \u0027yum\u0027"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"- name: Adjust sshd configuration in container"},{"line_number":157,"context_line":"  lineinfile:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_1eee97b3","line":154,"updated":"2017-12-08 16:35:30.000000000","message":"Aren\u0027t we dealing with containers only at this point in the play?","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"1f14dc727e877110a7cf80f482f0d35fc24cb15f","unresolved":false,"context_lines":[{"line_number":146,"context_line":"  when:"},{"line_number":147,"context_line":"    - ansible_pkg_mgr \u003d\u003d \u0027yum\u0027"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"- name: Remove LXC repository from existing containers"},{"line_number":150,"context_line":"  file:"},{"line_number":151,"context_line":"    path: /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":152,"context_line":"    state: absent"},{"line_number":153,"context_line":"  when:"},{"line_number":154,"context_line":"    - ansible_pkg_mgr \u003d\u003d \u0027yum\u0027"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"- name: Adjust sshd configuration in container"},{"line_number":157,"context_line":"  lineinfile:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_7e0c83eb","line":154,"range":{"start_line":149,"start_character":0,"end_line":154,"end_character":29},"updated":"2017-12-08 16:26:19.000000000","message":"that will remove it from hosts, I am not sure that\u0027s a good idea.","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"183bfbec24596314119642eb4f0e5adf536626ed","unresolved":false,"context_lines":[{"line_number":151,"context_line":"    path: /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":152,"context_line":"    state: absent"},{"line_number":153,"context_line":"  when:"},{"line_number":154,"context_line":"    - ansible_pkg_mgr \u003d\u003d \u0027yum\u0027"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"- name: Adjust sshd configuration in container"},{"line_number":157,"context_line":"  lineinfile:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_5e6bbf1c","line":154,"in_reply_to":"df87a7cf_1eee97b3","updated":"2017-12-08 16:39:11.000000000","message":"nope you\u0027re dealing with the base image, generated on the node. So because you are targetting the folder on the host, you\u0027re removing the thm-lxc2.0.repo from the lxc hosts. If I am not mistaken ofc :)","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"}],"vars/redhat-7.yml":[{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"d90808b274f9cd18a31cfaf10f91b266af3f8f30","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    - /etc/localtime"},{"line_number":49,"context_line":"    - /etc/pki/rpm-gpg/"},{"line_number":50,"context_line":"    - /etc/yum/pluginconf.d/fastestmirror.conf"},{"line_number":51,"context_line":"    - /etc/yum.repos.d/"},{"line_number":52,"context_line":"  cache_prep_commands: |"},{"line_number":53,"context_line":"    {{ lxc_cache_prep_pre_commands }}"},{"line_number":54,"context_line":"    mkdir -p /etc/ansible/facts.d/"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"df87a7cf_febc1307","line":51,"range":{"start_line":51,"start_character":4,"end_line":51,"end_character":23},"updated":"2017-12-08 16:23:59.000000000","message":"So i am curious about this line. Instead of removing the repo afterwards, should we be more careful and only copy the repos that we really want? that way we can avoid copying new repos in the future. In theory, you only need to copy the default repos in the container right? If another one is required, the the role that needs it will pull it in.","commit_id":"8b4f3573ae47f0058c9154850e78dbfcf1ae1071"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"3104bb01814ce52229942ce950f382ac63c6457a","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    {% endfor %}"},{"line_number":61,"context_line":"    rpm --import /etc/pki/rpm-gpg/*"},{"line_number":62,"context_line":"    # The containers do not need the LXC repository (only hosts need it)."},{"line_number":63,"context_line":"    rm -f /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":64,"context_line":"    # Prefer dnf over yum for CentOS."},{"line_number":65,"context_line":"    which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027 || RHT_PKG_MGR\u003d\u0027yum\u0027"},{"line_number":66,"context_line":"    # Create yum/dnf transaction file and run it all at once"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_fef09393","line":63,"updated":"2017-12-08 16:35:30.000000000","message":"We set the filename via a task earlier in this role, so we\u0027re in control of that naming (to an extent).","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"1f14dc727e877110a7cf80f482f0d35fc24cb15f","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    echo \"nameserver {{ resolver }}\" \u003e\u003e /etc/resolv.conf"},{"line_number":60,"context_line":"    {% endfor %}"},{"line_number":61,"context_line":"    rpm --import /etc/pki/rpm-gpg/*"},{"line_number":62,"context_line":"    # The containers do not need the LXC repository (only hosts need it)."},{"line_number":63,"context_line":"    rm -f /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":64,"context_line":"    # Prefer dnf over yum for CentOS."},{"line_number":65,"context_line":"    which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027 || RHT_PKG_MGR\u003d\u0027yum\u0027"},{"line_number":66,"context_line":"    # Create yum/dnf transaction file and run it all at once"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_be2f6b3d","line":63,"range":{"start_line":62,"start_character":0,"end_line":63,"end_character":42},"updated":"2017-12-08 16:26:19.000000000","message":"nit: I am fine with that, but it\u0027s indeed maybe a better idea to copy only selectively what we need.","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"12d1121fe7e661b5304fbbacefb4212d21830448","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    echo \"nameserver {{ resolver }}\" \u003e\u003e /etc/resolv.conf"},{"line_number":60,"context_line":"    {% endfor %}"},{"line_number":61,"context_line":"    rpm --import /etc/pki/rpm-gpg/*"},{"line_number":62,"context_line":"    # The containers do not need the LXC repository (only hosts need it)."},{"line_number":63,"context_line":"    rm -f /etc/yum.repos.d/thm-lxc2.0.repo"},{"line_number":64,"context_line":"    # Prefer dnf over yum for CentOS."},{"line_number":65,"context_line":"    which dnf \u0026\u003e/dev/null \u0026\u0026 RHT_PKG_MGR\u003d\u0027dnf\u0027 || RHT_PKG_MGR\u003d\u0027yum\u0027"},{"line_number":66,"context_line":"    # Create yum/dnf transaction file and run it all at once"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"df87a7cf_1e99b777","line":63,"range":{"start_line":62,"start_character":0,"end_line":63,"end_character":42},"in_reply_to":"df87a7cf_be2f6b3d","updated":"2017-12-08 16:31:47.000000000","message":"another question is whether the repo is always called \u0027thm-lxc2.0.repo\u0027 or we should do something more clever like rm -rf *lxc* or grepping for repo info to determine the filename. Just thinking that the problem may manifest again if one day the repo changes its filename.","commit_id":"0879a95dcb908b175a40bc1e991ea8ecbf79936c"}]}
