)]}'
{"handlers/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# NOTE(cloudnull): The systemd module is not used to start the"},{"line_number":48,"context_line":"#                  mount because we dont want to \"restart\" the"},{"line_number":49,"context_line":"#                  mount unessisarily. To ensure we\u0027re able to"},{"line_number":50,"context_line":"#                  load new options without requiring a mount"},{"line_number":51,"context_line":"#                  restart the systemctl command is used with"},{"line_number":52,"context_line":"#                  the \"reload-or-restart\" argument."}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_7f10ce57","line":49,"range":{"start_line":49,"start_character":25,"end_line":49,"end_character":37},"updated":"2018-04-03 10:18:45.000000000","message":"unnecessarily","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"33372d6e993d4d4bbfd96b1156ceb40e02c71e24","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# NOTE(cloudnull): The systemd module is not used to start the"},{"line_number":48,"context_line":"#                  mount because we dont want to \"restart\" the"},{"line_number":49,"context_line":"#                  mount unessisarily. To ensure we\u0027re able to"},{"line_number":50,"context_line":"#                  load new options without requiring a mount"},{"line_number":51,"context_line":"#                  restart the systemctl command is used with"},{"line_number":52,"context_line":"#                  the \"reload-or-restart\" argument."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_d32190a1","line":49,"range":{"start_line":49,"start_character":25,"end_line":49,"end_character":37},"updated":"2018-05-04 19:02:16.000000000","message":"unnecessarily","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"edd497ef103f4991d23da559039e0b836c150285","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# NOTE(cloudnull): The systemd module is not used to start the"},{"line_number":48,"context_line":"#                  mount because we dont want to \"restart\" the"},{"line_number":49,"context_line":"#                  mount unessisarily. To ensure we\u0027re able to"},{"line_number":50,"context_line":"#                  load new options without requiring a mount"},{"line_number":51,"context_line":"#                  restart the systemctl command is used with"},{"line_number":52,"context_line":"#                  the \"reload-or-restart\" argument."}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_765f4541","line":49,"range":{"start_line":49,"start_character":25,"end_line":49,"end_character":37},"in_reply_to":"5f7c97a3_d32190a1","updated":"2018-05-05 17:40:55.000000000","message":"Done","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"}],"tasks/lxc_cache_preparation_systemd_new.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_c2334161","side":"PARENT","line":17,"range":{"start_line":16,"start_character":0,"end_line":17,"end_character":54},"updated":"2018-04-03 10:18:45.000000000","message":"This note applies to the whole task file and therefore should not be removed.","commit_id":"0b4558baeb7b7345da6978646d4f0d2b3530805e"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_362271ba","side":"PARENT","line":17,"range":{"start_line":16,"start_character":0,"end_line":17,"end_character":54},"in_reply_to":"bf659307_c2334161","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"0b4558baeb7b7345da6978646d4f0d2b3530805e"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"},{"line_number":21,"context_line":"#  this without implementing some way of converting any pre-existing"},{"line_number":22,"context_line":"#  value properly during a major upgrade."},{"line_number":23,"context_line":"- name: Set volume size"},{"line_number":24,"context_line":"  shell: machinectl set-limit {{ lxc_host_machine_volume_size | regex_replace(\u0027\\D*$\u0027, \u0027\u0027) }}G"},{"line_number":25,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_221a3dcb","side":"PARENT","line":22,"range":{"start_line":18,"start_character":0,"end_line":22,"end_character":41},"updated":"2018-04-03 10:18:45.000000000","message":"This comment should be moved with the task to explain why the regex replace is there.","commit_id":"0b4558baeb7b7345da6978646d4f0d2b3530805e"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"},{"line_number":21,"context_line":"#  this without implementing some way of converting any pre-existing"},{"line_number":22,"context_line":"#  value properly during a major upgrade."},{"line_number":23,"context_line":"- name: Set volume size"},{"line_number":24,"context_line":"  shell: machinectl set-limit {{ lxc_host_machine_volume_size | regex_replace(\u0027\\D*$\u0027, \u0027\u0027) }}G"},{"line_number":25,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_763c69e0","side":"PARENT","line":22,"range":{"start_line":18,"start_character":0,"end_line":22,"end_character":41},"in_reply_to":"bf659307_221a3dcb","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"0b4558baeb7b7345da6978646d4f0d2b3530805e"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c2a9093e9fa4b5b2b1fd2e117a7e7f8cd176c928","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"},{"line_number":21,"context_line":"#  this without implementing some way of converting any pre-existing"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_d4e3cda3","side":"PARENT","line":18,"updated":"2018-04-16 08:52:17.000000000","message":"You change this without documenting in the commit. Please update your change to remove this in a separate commit.","commit_id":"1871fbec7b8ad6fda759338389017bc478905735"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"710d242e629c2d27d6b59819ee7069dc138a6185","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# NOTE(cloudnull): When modern SystemD is running everywhere this can be"},{"line_number":17,"context_line":"#  collapsed back into the base preparation task file."},{"line_number":18,"context_line":"# NOTE(odyssey4me):"},{"line_number":19,"context_line":"# The size is forced to be set in Gigabytes to maintain compatibility"},{"line_number":20,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"},{"line_number":21,"context_line":"#  this without implementing some way of converting any pre-existing"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_af059f7c","side":"PARENT","line":18,"in_reply_to":"9f6a8fd7_d4e3cda3","updated":"2018-04-16 13:03:00.000000000","message":"I just moved this into the common file.","commit_id":"1871fbec7b8ad6fda759338389017bc478905735"}],"tasks/lxc_cache_preparation_systemd_old.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":17,"context_line":"#  the following ML post resolves the bug."},{"line_number":18,"context_line":"#  * https://lists.freedesktop.org/archives/systemd-devel/2015-March/029151.html"},{"line_number":19,"context_line":"- name: Move machined service into place"},{"line_number":20,"context_line":"  template:"},{"line_number":21,"context_line":"    src: systemd-machined.service.j2"},{"line_number":22,"context_line":"    dest: /etc/systemd/system/systemd-machined.service"},{"line_number":23,"context_line":"  register: machined_unit"},{"line_number":24,"context_line":"  notify:"},{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."},{"line_number":30,"context_line":"#  * https://cgit.freedesktop.org/systemd/systemd/commit/src/machine/org.freedesktop.machine1.conf?id\u003d72c3897f77a7352618ea76b880a6764f52d6327b"},{"line_number":31,"context_line":"- name: Move machine1 dbus config into place"},{"line_number":32,"context_line":"  copy:"},{"line_number":33,"context_line":"    src: org.freedesktop.machine1.conf"},{"line_number":34,"context_line":"    dest: /etc/dbus-1/system.d/org.freedesktop.machine1.conf"},{"line_number":35,"context_line":"  register: machine1_conf"},{"line_number":36,"context_line":"  notify:"},{"line_number":37,"context_line":"    - Reload systemd units"},{"line_number":38,"context_line":"    - Restart dbus"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# Ensure lxc networks are running as they\u0027re supposed to"},{"line_number":41,"context_line":"- meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_22d8fd78","line":38,"range":{"start_line":16,"start_character":0,"end_line":38,"end_character":18},"updated":"2018-04-03 10:18:45.000000000","message":"These were previously conditionally executed. Is it now intentionally always added?","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":17,"context_line":"#  the following ML post resolves the bug."},{"line_number":18,"context_line":"#  * https://lists.freedesktop.org/archives/systemd-devel/2015-March/029151.html"},{"line_number":19,"context_line":"- name: Move machined service into place"},{"line_number":20,"context_line":"  template:"},{"line_number":21,"context_line":"    src: systemd-machined.service.j2"},{"line_number":22,"context_line":"    dest: /etc/systemd/system/systemd-machined.service"},{"line_number":23,"context_line":"  register: machined_unit"},{"line_number":24,"context_line":"  notify:"},{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."},{"line_number":30,"context_line":"#  * https://cgit.freedesktop.org/systemd/systemd/commit/src/machine/org.freedesktop.machine1.conf?id\u003d72c3897f77a7352618ea76b880a6764f52d6327b"},{"line_number":31,"context_line":"- name: Move machine1 dbus config into place"},{"line_number":32,"context_line":"  copy:"},{"line_number":33,"context_line":"    src: org.freedesktop.machine1.conf"},{"line_number":34,"context_line":"    dest: /etc/dbus-1/system.d/org.freedesktop.machine1.conf"},{"line_number":35,"context_line":"  register: machine1_conf"},{"line_number":36,"context_line":"  notify:"},{"line_number":37,"context_line":"    - Reload systemd units"},{"line_number":38,"context_line":"    - Restart dbus"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# Ensure lxc networks are running as they\u0027re supposed to"},{"line_number":41,"context_line":"- meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_360b512a","line":38,"range":{"start_line":16,"start_character":0,"end_line":38,"end_character":18},"in_reply_to":"bf659307_22d8fd78","updated":"2018-04-03 19:47:55.000000000","message":"Yes this was an intentional change. the old way was assuming it\u0027d create the volume for container cache and manage it with machined and it\u0027d omit all of these tasks on the next run because the machines was mounted. With the change in the integrated repo for tests, the machines backend may already exist so this was changed to ensure we\u0027re configuring the dbus / service as we expect.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c2a9093e9fa4b5b2b1fd2e117a7e7f8cd176c928","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":17,"context_line":"#  the following ML post resolves the bug."},{"line_number":18,"context_line":"#  * https://lists.freedesktop.org/archives/systemd-devel/2015-March/029151.html"},{"line_number":19,"context_line":"- name: Move machined service into place"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_f4e05199","line":16,"updated":"2018-04-16 08:52:17.000000000","message":"\"systemd\"","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"fdc222098bba2d9c9ef0bb7f9d056cf446444c9a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":17,"context_line":"#  the following ML post resolves the bug."},{"line_number":18,"context_line":"#  * https://lists.freedesktop.org/archives/systemd-devel/2015-March/029151.html"},{"line_number":19,"context_line":"- name: Move machined service into place"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_8f877bd8","line":16,"in_reply_to":"9f6a8fd7_f4e05199","updated":"2018-04-16 13:04:57.000000000","message":"Done","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c2a9093e9fa4b5b2b1fd2e117a7e7f8cd176c928","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  register: machined_unit"},{"line_number":24,"context_line":"  notify:"},{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_94ef9586","line":26,"updated":"2018-04-16 08:52:17.000000000","message":"If that\u0027s not required in the future, then could you add a conditional on the systemd version?","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"fdc222098bba2d9c9ef0bb7f9d056cf446444c9a","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  register: machined_unit"},{"line_number":24,"context_line":"  notify:"},{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_af783ff8","line":26,"in_reply_to":"9f6a8fd7_94ef9586","updated":"2018-04-16 13:04:57.000000000","message":"This entire file is executed conditionally based on the version of systemd.","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c2a9093e9fa4b5b2b1fd2e117a7e7f8cd176c928","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."},{"line_number":30,"context_line":"#  * https://cgit.freedesktop.org/systemd/systemd/commit/src/machine/org.freedesktop.machine1.conf?id\u003d72c3897f77a7352618ea76b880a6764f52d6327b"},{"line_number":31,"context_line":"- name: Move machine1 dbus config into place"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_b4f4195d","line":28,"updated":"2018-04-16 08:52:17.000000000","message":"Same here","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"fdc222098bba2d9c9ef0bb7f9d056cf446444c9a","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    - Reload systemd units"},{"line_number":26,"context_line":"    - Restart machined"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# In later versions of SystemD this is not needed. Referenced in"},{"line_number":29,"context_line":"#  the following commit resolves the bug."},{"line_number":30,"context_line":"#  * https://cgit.freedesktop.org/systemd/systemd/commit/src/machine/org.freedesktop.machine1.conf?id\u003d72c3897f77a7352618ea76b880a6764f52d6327b"},{"line_number":31,"context_line":"- name: Move machine1 dbus config into place"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_6f8227cb","line":28,"in_reply_to":"9f6a8fd7_b4f4195d","updated":"2018-04-16 13:04:57.000000000","message":"Done","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c2a9093e9fa4b5b2b1fd2e117a7e7f8cd176c928","unresolved":false,"context_lines":[{"line_number":35,"context_line":"  register: machine1_conf"},{"line_number":36,"context_line":"  notify:"},{"line_number":37,"context_line":"    - Reload systemd units"},{"line_number":38,"context_line":"    - Restart dbus"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# Ensure lxc networks are running as they\u0027re supposed to"},{"line_number":41,"context_line":"- meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_54e9fd7d","line":38,"updated":"2018-04-16 08:52:17.000000000","message":"Same here.","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"fdc222098bba2d9c9ef0bb7f9d056cf446444c9a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"  register: machine1_conf"},{"line_number":36,"context_line":"  notify:"},{"line_number":37,"context_line":"    - Reload systemd units"},{"line_number":38,"context_line":"    - Restart dbus"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"# Ensure lxc networks are running as they\u0027re supposed to"},{"line_number":41,"context_line":"- meta: flush_handlers"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"9f6a8fd7_cf7d73e8","line":38,"in_reply_to":"9f6a8fd7_54e9fd7d","updated":"2018-04-16 13:04:57.000000000","message":"This entire file is executed conditionally based on the version of systemd.","commit_id":"cea0f2484065573def06e2c7f96f334331718d27"}],"tasks/lxc_volume.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Check machinectl mount point"},{"line_number":17,"context_line":"  command: mountpoint /var/lib/machines"},{"line_number":18,"context_line":"  failed_when: false"},{"line_number":19,"context_line":"  changed_when: false"},{"line_number":20,"context_line":"  register: machinectl_mount"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Create systemd sparse file"},{"line_number":23,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_02bff9d0","line":20,"range":{"start_line":16,"start_character":0,"end_line":20,"end_character":28},"updated":"2018-04-03 10:18:45.000000000","message":"This looks quite different to the previous iteration which was the following. Do we no longer need to start the mount point?\n\n# NOTE(cloudnull): This is only used when running SystemD \u003c\u003d 219\n# \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n#  In later versions of SystemD this is automatically done for us\n#  by the machinectl cli on first run. To ensure we\u0027re handling the\n#  case of a mount point being just offline, we first try and start\n#  the systemd mount unit and then check for the mount points existance.\n- name: Check machinectl mount point\n  shell: |\n    mount -a || true\n    systemctl start var-lib-machines.mount || true\n    sleep 1\n    grep -w \u0027/var/lib/machines\u0027 /proc/mounts\n  args:\n    warn: no\n  failed_when: false\n  changed_when: false\n  register: machinectl_mount\n  tags:\n    - skip_ansible_lint","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Check machinectl mount point"},{"line_number":17,"context_line":"  command: mountpoint /var/lib/machines"},{"line_number":18,"context_line":"  failed_when: false"},{"line_number":19,"context_line":"  changed_when: false"},{"line_number":20,"context_line":"  register: machinectl_mount"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Create systemd sparse file"},{"line_number":23,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_0915d23f","line":20,"range":{"start_line":16,"start_character":0,"end_line":20,"end_character":28},"in_reply_to":"bf659307_02bff9d0","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  changed_when: false"},{"line_number":20,"context_line":"  register: machinectl_mount"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Create systemd sparse file"},{"line_number":23,"context_line":"  block:"},{"line_number":24,"context_line":"    - name: Set volume size"},{"line_number":25,"context_line":"      command: machinectl set-limit {{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G"},{"line_number":26,"context_line":"      changed_when: false"},{"line_number":27,"context_line":"      register: machines_create"},{"line_number":28,"context_line":"  rescue:"},{"line_number":29,"context_line":"    - name: Create volume file (fallback)"},{"line_number":30,"context_line":"      shell: |"},{"line_number":31,"context_line":"        truncate -s \u0027\u003e{{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G\u0027 /var/lib/machines.raw"},{"line_number":32,"context_line":"      register: machines_create"},{"line_number":33,"context_line":"      args:"},{"line_number":34,"context_line":"        executable: /bin/bash"},{"line_number":35,"context_line":"      tags:"},{"line_number":36,"context_line":"        - skip_ansible_lint"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"- name: Systemd machinectl mount"},{"line_number":39,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_a2e40d0e","line":36,"range":{"start_line":22,"start_character":0,"end_line":36,"end_character":27},"updated":"2018-04-03 10:18:45.000000000","message":"Why is this a block/rescue? I don\u0027t understand why setting the limit, if failing, should result in the truncation of the file? Also, will the first task always fail on a greenfield environment - if so, we shouldn\u0027t use block/rescue because the failed task will show in the playbook summary and confuse people.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  changed_when: false"},{"line_number":20,"context_line":"  register: machinectl_mount"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"- name: Create systemd sparse file"},{"line_number":23,"context_line":"  block:"},{"line_number":24,"context_line":"    - name: Set volume size"},{"line_number":25,"context_line":"      command: machinectl set-limit {{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G"},{"line_number":26,"context_line":"      changed_when: false"},{"line_number":27,"context_line":"      register: machines_create"},{"line_number":28,"context_line":"  rescue:"},{"line_number":29,"context_line":"    - name: Create volume file (fallback)"},{"line_number":30,"context_line":"      shell: |"},{"line_number":31,"context_line":"        truncate -s \u0027\u003e{{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G\u0027 /var/lib/machines.raw"},{"line_number":32,"context_line":"      register: machines_create"},{"line_number":33,"context_line":"      args:"},{"line_number":34,"context_line":"        executable: /bin/bash"},{"line_number":35,"context_line":"      tags:"},{"line_number":36,"context_line":"        - skip_ansible_lint"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"- name: Systemd machinectl mount"},{"line_number":39,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_4920aa9b","line":36,"range":{"start_line":22,"start_character":0,"end_line":36,"end_character":27},"in_reply_to":"bf659307_a2e40d0e","updated":"2018-04-03 19:47:55.000000000","message":"The limit set with new systemd will result in the image file being created if required. In old systemd we need to create the image file ourselves.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":35,"context_line":"      tags:"},{"line_number":36,"context_line":"        - skip_ansible_lint"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"- name: Systemd machinectl mount"},{"line_number":39,"context_line":"  block:"},{"line_number":40,"context_line":"    - name: Format the machines sparse file"},{"line_number":41,"context_line":"      filesystem:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_429df163","line":38,"updated":"2018-04-03 10:18:45.000000000","message":"A suggestion for style:\n\nI find it just a little easier to read when the conditional is immediately below the \u0027name\u0027 for blocks. eg:\n\n- name: Systemd machinectl mount\n  when:\n    - machinectl_mount.rc !\u003d 0\n  block:\n    - ...","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":46,"context_line":"      file:"},{"line_number":47,"context_line":"        path: \"/var/lib/machines\""},{"line_number":48,"context_line":"        state: \"directory\""},{"line_number":49,"context_line":"        recurse: true"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - name: Move machines mount into place"},{"line_number":52,"context_line":"      template:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_020859d7","line":49,"range":{"start_line":49,"start_character":8,"end_line":49,"end_character":21},"updated":"2018-04-03 10:18:45.000000000","message":"Why recurse - do we want to change owner/group/mode in all subdirectories? If so, it doesn\u0027t look like we\u0027re setting them so this doesn\u0027t seem appropriate.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":46,"context_line":"      file:"},{"line_number":47,"context_line":"        path: \"/var/lib/machines\""},{"line_number":48,"context_line":"        state: \"directory\""},{"line_number":49,"context_line":"        recurse: true"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    - name: Move machines mount into place"},{"line_number":52,"context_line":"      template:"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_69232ea8","line":49,"range":{"start_line":49,"start_character":8,"end_line":49,"end_character":21},"in_reply_to":"bf659307_020859d7","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    - name: Notice quota system was not disabled"},{"line_number":74,"context_line":"      debug:"},{"line_number":75,"context_line":"        msg: \u003e-"},{"line_number":76,"context_line":"          The machinectl quota system could not be disabled. This typically"},{"line_number":77,"context_line":"           means it is already off or not available on the system."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# NOTE(cloudnull): Because the machines mount may be a manually created sparse"},{"line_number":80,"context_line":"#                  file we run an online resize to ensure the machines mount is"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_42d9711f","line":77,"range":{"start_line":76,"start_character":61,"end_line":77,"end_character":34},"updated":"2018-04-03 10:18:45.000000000","message":"If this happens then we\u0027re going to have very confused users who see a failed task every time they re-run the playbooks. We should therefore handle this better instead of using a block/rescue strategy.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    - name: Notice quota system was not disabled"},{"line_number":74,"context_line":"      debug:"},{"line_number":75,"context_line":"        msg: \u003e-"},{"line_number":76,"context_line":"          The machinectl quota system could not be disabled. This typically"},{"line_number":77,"context_line":"           means it is already off or not available on the system."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# NOTE(cloudnull): Because the machines mount may be a manually created sparse"},{"line_number":80,"context_line":"#                  file we run an online resize to ensure the machines mount is"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_69a6ce11","line":77,"range":{"start_line":76,"start_character":61,"end_line":77,"end_character":34},"in_reply_to":"bf659307_42d9711f","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"852fde6a93a83cd5dfc53edf9acaddd8ae715392","unresolved":false,"context_lines":[{"line_number":83,"context_line":"  command: \"btrfs filesystem resize max /var/lib/machines\""},{"line_number":84,"context_line":"  changed_when: false"},{"line_number":85,"context_line":"  failed_when: false"},{"line_number":86,"context_line":"  when:"},{"line_number":87,"context_line":"    - machines_create | changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_220c7da3","line":87,"range":{"start_line":86,"start_character":0,"end_line":87,"end_character":31},"updated":"2018-04-03 10:18:45.000000000","message":"This condition will never be true, because the task has changed_when: false.","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aad7f173eb35c0cd79079fa178416ab727a74058","unresolved":false,"context_lines":[{"line_number":83,"context_line":"  command: \"btrfs filesystem resize max /var/lib/machines\""},{"line_number":84,"context_line":"  changed_when: false"},{"line_number":85,"context_line":"  failed_when: false"},{"line_number":86,"context_line":"  when:"},{"line_number":87,"context_line":"    - machines_create | changed"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bf659307_296776eb","line":87,"range":{"start_line":86,"start_character":0,"end_line":87,"end_character":31},"in_reply_to":"bf659307_220c7da3","updated":"2018-04-03 19:47:55.000000000","message":"Done","commit_id":"44c1ba7e616e13be94b4fa6592a8949be438fbba"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5e278bfea2d7ace95b5b5b068401ef3441ed1a17","unresolved":false,"context_lines":[{"line_number":24,"context_line":"#  with the initial implementation done in Pike-Rocky. Do not change"},{"line_number":25,"context_line":"#  this without implementing some way of converting any pre-existing"},{"line_number":26,"context_line":"#  value properly during a major upgrade."},{"line_number":27,"context_line":"- name: Create systemd sparse file"},{"line_number":28,"context_line":"  block:"},{"line_number":29,"context_line":"    - name: Set volume size"},{"line_number":30,"context_line":"      command: machinectl set-limit {{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G"},{"line_number":31,"context_line":"      changed_when: false"},{"line_number":32,"context_line":"      register: machines_create"},{"line_number":33,"context_line":"  rescue:"},{"line_number":34,"context_line":"    - name: Create volume file (fallback)"},{"line_number":35,"context_line":"      shell: |"},{"line_number":36,"context_line":"        truncate -s \u0027\u003e{{ lxc_host_machine_volume_size | regex_replace(\"\\D*$\", \"\") }}G\u0027 /var/lib/machines.raw"},{"line_number":37,"context_line":"      register: machines_create"},{"line_number":38,"context_line":"      args:"},{"line_number":39,"context_line":"        executable: /bin/bash"},{"line_number":40,"context_line":"      tags:"},{"line_number":41,"context_line":"        - skip_ansible_lint"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: Systemd machinectl mount"},{"line_number":44,"context_line":"  block:"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_b3f5f4cd","line":41,"range":{"start_line":27,"start_character":0,"end_line":41,"end_character":27},"updated":"2018-05-04 19:21:37.000000000","message":"Instead of this, which will result in the confusing task result looking like a failure failure for old systemd. Can we either do a read-only check for check capabilities, then react accordingly; or make both tasks run, but have the one task conditional on the systemd version?","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5e278bfea2d7ace95b5b5b068401ef3441ed1a17","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      tags:"},{"line_number":41,"context_line":"        - skip_ansible_lint"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: Systemd machinectl mount"},{"line_number":44,"context_line":"  block:"},{"line_number":45,"context_line":"    - name: Format the machines sparse file"},{"line_number":46,"context_line":"      filesystem:"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_73519cd8","line":43,"updated":"2018-05-04 19:21:37.000000000","message":"Aren\u0027t all these tasks idempotent? If so, why not remove the conditional and run them all?","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"edd497ef103f4991d23da559039e0b836c150285","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      tags:"},{"line_number":41,"context_line":"        - skip_ansible_lint"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"- name: Systemd machinectl mount"},{"line_number":44,"context_line":"  block:"},{"line_number":45,"context_line":"    - name: Format the machines sparse file"},{"line_number":46,"context_line":"      filesystem:"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_16361105","line":43,"in_reply_to":"5f7c97a3_73519cd8","updated":"2018-05-05 17:40:55.000000000","message":"They are idempotent however not all deployments of the machines mount will run in a loopback file. This is catering for the case where the deployer already has machines mounted elsewhere, like in a LV or a different set of physical drives.","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5e278bfea2d7ace95b5b5b068401ef3441ed1a17","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      template:"},{"line_number":57,"context_line":"        src: var-lib-machines.mount"},{"line_number":58,"context_line":"        dest: /etc/systemd/system/var-lib-machines.mount"},{"line_number":59,"context_line":"      register: mount_unit"},{"line_number":60,"context_line":"      notify:"},{"line_number":61,"context_line":"        - Reload systemd units"},{"line_number":62,"context_line":"        - Start machines mount"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_934a3825","line":59,"range":{"start_line":59,"start_character":0,"end_line":59,"end_character":26},"updated":"2018-05-04 19:21:37.000000000","message":"I\u0027m not seeing this register used anywhere?","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"edd497ef103f4991d23da559039e0b836c150285","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      template:"},{"line_number":57,"context_line":"        src: var-lib-machines.mount"},{"line_number":58,"context_line":"        dest: /etc/systemd/system/var-lib-machines.mount"},{"line_number":59,"context_line":"      register: mount_unit"},{"line_number":60,"context_line":"      notify:"},{"line_number":61,"context_line":"        - Reload systemd units"},{"line_number":62,"context_line":"        - Start machines mount"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_965c614c","line":59,"range":{"start_line":59,"start_character":0,"end_line":59,"end_character":26},"in_reply_to":"5f7c97a3_934a3825","updated":"2018-05-05 17:40:55.000000000","message":"Done","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5e278bfea2d7ace95b5b5b068401ef3441ed1a17","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"- meta: flush_handlers"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"- name: Disable the machinectl quota system"},{"line_number":69,"context_line":"  command: \"btrfs quota {{ lxc_host_machine_quota_disabled | bool | ternary(\u0027disable\u0027, \u0027enable\u0027) }} /var/lib/machines\""},{"line_number":70,"context_line":"  args:"},{"line_number":71,"context_line":"    executable: /bin/bash"},{"line_number":72,"context_line":"  failed_when: false"},{"line_number":73,"context_line":"  register: machines_create"},{"line_number":74,"context_line":"  tags:"},{"line_number":75,"context_line":"  - skip_ansible_lint"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"- name: Notice quota system was not disabled"},{"line_number":78,"context_line":"  debug:"},{"line_number":79,"context_line":"    msg: \u003e-"},{"line_number":80,"context_line":"      The machinectl quota system could not be disabled. This typically"},{"line_number":81,"context_line":"      means it is already off or not available on the system."},{"line_number":82,"context_line":"  when:"},{"line_number":83,"context_line":"    - machines_create.rc !\u003d 0"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# NOTE(cloudnull): Because the machines mount may be a manually created sparse"},{"line_number":86,"context_line":"#                  file we run an online resize to ensure the machines mount is"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_f3d04c53","line":83,"range":{"start_line":68,"start_character":0,"end_line":83,"end_character":29},"updated":"2018-05-04 19:21:37.000000000","message":"Rather than a try with failed_when false - isn\u0027t there a read-only test we can do to verify whether it\u0027s available, then execute? Alternatively, is there a different return code perhaps if it fails for that reason?","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"edd497ef103f4991d23da559039e0b836c150285","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":"- meta: flush_handlers"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"- name: Disable the machinectl quota system"},{"line_number":69,"context_line":"  command: \"btrfs quota {{ lxc_host_machine_quota_disabled | bool | ternary(\u0027disable\u0027, \u0027enable\u0027) }} /var/lib/machines\""},{"line_number":70,"context_line":"  args:"},{"line_number":71,"context_line":"    executable: /bin/bash"},{"line_number":72,"context_line":"  failed_when: false"},{"line_number":73,"context_line":"  register: machines_create"},{"line_number":74,"context_line":"  tags:"},{"line_number":75,"context_line":"  - skip_ansible_lint"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"- name: Notice quota system was not disabled"},{"line_number":78,"context_line":"  debug:"},{"line_number":79,"context_line":"    msg: \u003e-"},{"line_number":80,"context_line":"      The machinectl quota system could not be disabled. This typically"},{"line_number":81,"context_line":"      means it is already off or not available on the system."},{"line_number":82,"context_line":"  when:"},{"line_number":83,"context_line":"    - machines_create.rc !\u003d 0"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# NOTE(cloudnull): Because the machines mount may be a manually created sparse"},{"line_number":86,"context_line":"#                  file we run an online resize to ensure the machines mount is"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"5f7c97a3_5656c92b","line":83,"range":{"start_line":68,"start_character":0,"end_line":83,"end_character":29},"in_reply_to":"5f7c97a3_f3d04c53","updated":"2018-05-05 17:40:55.000000000","message":"old systemd wont have a quota option and should it fail it will only fail with rc 1","commit_id":"86cac3314261f852f66c9d0f58d921f1ab78acee"}]}
