)]}'
{"openstack-ansible-security/tasks/auditd.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"d705e6379c99aa0c42bc897602311a96d3b1c424","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    - V-38636"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"- name: Checking auditd package contents for alterations with debsums (for V-38637)"},{"line_number":76,"context_line":"  shell: debsums auditd -c | wc -l"},{"line_number":77,"context_line":"  register: v38637_result"},{"line_number":78,"context_line":"  changed_when: v38637_result.stdout !\u003d \u00270\u0027"},{"line_number":79,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7a2fa921_fcd9d3f3","line":76,"updated":"2015-10-09 11:38:31.000000000","message":"There are a good few reviews open so it\u0027s not clear, but are we ensuring that debsums gets installed?  I\u0027ve just checked my AIO where I ran openstack-ansible-security the other day and debsums is not installed.\n\nAlso, I think you can check exit code 2 rather than having to wc.","commit_id":"c137c00573a5cbb6a9e2906f7b5949032b600b58"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"095a3d4806351972529f35b44a0ba44f1e0a3190","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    - V-38636"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"- name: Checking auditd package contents for alterations with debsums (for V-38637)"},{"line_number":76,"context_line":"  shell: debsums auditd -c | wc -l"},{"line_number":77,"context_line":"  register: v38637_result"},{"line_number":78,"context_line":"  changed_when: v38637_result.stdout !\u003d \u00270\u0027"},{"line_number":79,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7a2fa921_4b92774d","line":76,"in_reply_to":"7a2fa921_fcd9d3f3","updated":"2015-10-09 13:18:31.000000000","message":"Done","commit_id":"c137c00573a5cbb6a9e2906f7b5949032b600b58"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"36fb777eb47c8f989e507cbd1a6a2795567e7aa4","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    - V-38637"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"- name: V-38637 - Contents of auditd package must be verified"},{"line_number":98,"context_line":"  debug:"},{"line_number":99,"context_line":"    msg: \"FAILED: Could not verify that files from auditd package are unaltered\""},{"line_number":100,"context_line":"  when: v38637_result.rc \u003d\u003d 2"},{"line_number":101,"context_line":"  failed_when: v38637_result.rc \u003d\u003d 2"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7a2fa921_398192fb","line":98,"updated":"2015-10-09 14:27:08.000000000","message":"Fail module, keep the when and remove the failed_when?","commit_id":"53a423253a57e33f8c7fb9d26406f3c4773611f0"}],"tasks/auditd.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"6028f5dd4d2368a2bbb0ca1e8fd9ec1b91141d9f","unresolved":false,"context_lines":[{"line_number":98,"context_line":"  debug:"},{"line_number":99,"context_line":"    msg: \"FAILED: Could not verify that files from auditd package are unaltered\""},{"line_number":100,"context_line":"  when: v38637_result.rc \u003d\u003d 2"},{"line_number":101,"context_line":"  failed_when: v38637_result.rc \u003d\u003d 2"},{"line_number":102,"context_line":"  tags:"},{"line_number":103,"context_line":"    - auditd"},{"line_number":104,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"7a2fa921_c86674ec","line":101,"updated":"2015-10-09 21:31:03.000000000","message":"Another candidate for http://docs.ansible.com/ansible/fail_module.html, which I think Jean-Philippe Evrard\t suggested in a previous revision.","commit_id":"27da81fccac5a84d00650b4a900977f544aedeaa"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"0d8f90cdfbcdab1ef72626845215625d17734f04","unresolved":false,"context_lines":[{"line_number":98,"context_line":"  debug:"},{"line_number":99,"context_line":"    msg: \"FAILED: Could not verify that files from auditd package are unaltered\""},{"line_number":100,"context_line":"  when: v38637_result.rc \u003d\u003d 2"},{"line_number":101,"context_line":"  failed_when: v38637_result.rc \u003d\u003d 2"},{"line_number":102,"context_line":"  tags:"},{"line_number":103,"context_line":"    - auditd"},{"line_number":104,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"7a2fa921_5d29bae4","line":101,"in_reply_to":"7a2fa921_c86674ec","updated":"2015-10-10 19:30:31.000000000","message":"Done","commit_id":"27da81fccac5a84d00650b4a900977f544aedeaa"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"a836a3db70959195c20e91051012f1d81b2c93e7","unresolved":false,"context_lines":[{"line_number":75,"context_line":"- name: Ensure debsums package is installed (for V-38637)"},{"line_number":76,"context_line":"  apt:"},{"line_number":77,"context_line":"    name: debsums"},{"line_number":78,"context_line":"    state: latest"},{"line_number":79,"context_line":"  tags:"},{"line_number":80,"context_line":"    - auditd"},{"line_number":81,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5a2ca52d_9be673e7","line":78,"updated":"2015-10-13 10:16:30.000000000","message":"Should we really make sure debsums is always at the latest version?\n\nI\u0027d rather make sure debsums is in state: present , for idempotency reasons.\n\nAlso, does it make sense to have it at the latest version if auditd is not ensured to be at the latest version?","commit_id":"c90c76b73abf629ddffda1c4517858d4d226ce5c"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"bd1de23cb20041ace23041ffee59fd53a141a617","unresolved":false,"context_lines":[{"line_number":75,"context_line":"- name: Ensure debsums package is installed (for V-38637)"},{"line_number":76,"context_line":"  apt:"},{"line_number":77,"context_line":"    name: debsums"},{"line_number":78,"context_line":"    state: latest"},{"line_number":79,"context_line":"  tags:"},{"line_number":80,"context_line":"    - auditd"},{"line_number":81,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5a2ca52d_a4e15ad2","line":78,"updated":"2015-10-15 13:00:21.000000000","message":"Wasn\u0027t this supposed to be \u0027present\u0027?","commit_id":"774dbf2197dc85b4d7bfe8651769e514c421a5cb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"cf17c179510b596e3f8707ed25d21971bc56e3f8","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  shell: debsums auditd -c"},{"line_number":89,"context_line":"  register: v38637_result"},{"line_number":90,"context_line":"  changed_when: False"},{"line_number":91,"context_line":"  failed_when: \"\u0027not installed\u0027 in v38637_result.stdout\""},{"line_number":92,"context_line":"  tags:"},{"line_number":93,"context_line":"    - auditd"},{"line_number":94,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"5a2ca52d_9bd4bc47","line":91,"updated":"2015-10-15 13:25:17.000000000","message":"Is this necessary?  Why would you not have it installed if the previous task is to install it?","commit_id":"1de3e672b46a931c9907a927e7b3b71ed8c66b84"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f19a09a39363c10c351605c339dca3189ebf064b","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  shell: debsums auditd -c"},{"line_number":89,"context_line":"  register: v38637_result"},{"line_number":90,"context_line":"  changed_when: False"},{"line_number":91,"context_line":"  failed_when: \"\u0027not installed\u0027 in v38637_result.stdout\""},{"line_number":92,"context_line":"  tags:"},{"line_number":93,"context_line":"    - auditd"},{"line_number":94,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"5a2ca52d_f7326e5d","line":91,"in_reply_to":"5a2ca52d_998a6d1a","updated":"2015-10-16 13:12:34.000000000","message":"Could simply check for exit code 1, but this should be OK also.","commit_id":"1de3e672b46a931c9907a927e7b3b71ed8c66b84"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"1deccecc8a0ca36208bce3585bb60fd8a4eb5e14","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  shell: debsums auditd -c"},{"line_number":89,"context_line":"  register: v38637_result"},{"line_number":90,"context_line":"  changed_when: False"},{"line_number":91,"context_line":"  failed_when: \"\u0027not installed\u0027 in v38637_result.stdout\""},{"line_number":92,"context_line":"  tags:"},{"line_number":93,"context_line":"    - auditd"},{"line_number":94,"context_line":"    - cat2"}],"source_content_type":"text/x-yaml","patch_set":12,"id":"5a2ca52d_998a6d1a","line":91,"in_reply_to":"5a2ca52d_9bd4bc47","updated":"2015-10-15 21:39:53.000000000","message":"It fails when auditd is not installed. This might be the case if someone ran this task individually without doing the auditd installation task.  Does that make sense?","commit_id":"1de3e672b46a931c9907a927e7b3b71ed8c66b84"}]}
