)]}'
{"tests/test-containers-functional.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"cb3e27f40597e7ae43e4ca4f20365ade48c990ae","unresolved":false,"context_lines":[{"line_number":37,"context_line":"          - lxc_container_list.stdout | search(\"container3\\s+(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3},\\s+)*10.100.100.4(,\\s+\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})*\\s+\")"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    - name: Check for the presence of the right apparmor profile for container1"},{"line_number":40,"context_line":"      command: grep \"^{{ (hostvars[physical_host | default(\u0027localhost\u0027)][\u0027ansible_distribution_version\u0027] in [\u002718.04\u0027, \u002742.3\u0027, \u002715.0\u0027]) | ternary(\u0027lxc.apparmor.profile\u0027, \u0027lxc.aa_profile\u0027) }} \u003d lxc-openstack$\" /var/lib/lxc/container1/config"},{"line_number":41,"context_line":"      register: container1_profile"},{"line_number":42,"context_line":"      failed_when: container1_profile.rc !\u003d 0"},{"line_number":43,"context_line":"      tags:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"dfbec78f_181c7fbf","line":40,"range":{"start_line":40,"start_character":15,"end_line":40,"end_character":238},"updated":"2019-05-14 16:19:15.000000000","message":"It would be by far easier to do\n``grep -e lxc.apparmor.profile -e lxc.aa_profile /var/lib/lxc/container1/config`` as we don\u0027t really care which one applies, as long as one applies.\n\nWe probably don\u0027t even need to test lxc.aa_profile tbh.\n\nIt\u0027s probably silly to test this for any distro outside opensuse/ubuntu too.","commit_id":"07c973ae545c26f56d659fa7f99057ba899b76ab"},{"author":{"_account_id":19298,"name":"Nicolas Bock","email":"nicolas.bock@canonical.com","username":"nicolasbock"},"change_message_id":"82e891c3d09101901bd7e0c5a14953e86536c0e9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"          - lxc_container_list.stdout | search(\"container3\\s+(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3},\\s+)*10.100.100.4(,\\s+\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})*\\s+\")"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    - name: Check for the presence of the right apparmor profile for container1"},{"line_number":40,"context_line":"      command: grep \"^{{ (hostvars[physical_host | default(\u0027localhost\u0027)][\u0027ansible_distribution_version\u0027] in [\u002718.04\u0027, \u002742.3\u0027, \u002715.0\u0027]) | ternary(\u0027lxc.apparmor.profile\u0027, \u0027lxc.aa_profile\u0027) }} \u003d lxc-openstack$\" /var/lib/lxc/container1/config"},{"line_number":41,"context_line":"      register: container1_profile"},{"line_number":42,"context_line":"      failed_when: container1_profile.rc !\u003d 0"},{"line_number":43,"context_line":"      tags:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"dfbec78f_ccf62864","line":40,"range":{"start_line":40,"start_character":15,"end_line":40,"end_character":238},"in_reply_to":"dfbec78f_181c7fbf","updated":"2019-05-14 16:56:42.000000000","message":"Ah, ok. And, is there a reason why the checks for `container?` are not the same? Isn\u0027t the intent to check the same thing?","commit_id":"07c973ae545c26f56d659fa7f99057ba899b76ab"}]}
