{"action":"opened","issue":{"url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG/issues/189","repository_url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG","labels_url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG/issues/189/comments","events_url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG/issues/189/events","html_url":"https://github.com/MindPointGroup/RHEL7-STIG/issues/189","id":374654938,"node_id":"MDU6SXNzdWUzNzQ2NTQ5Mzg=","number":189,"title":"RHEL-07-010010 failing due to quoting problems in task","user":{"login":"defionscode","id":4664162,"node_id":"MDQ6VXNlcjQ2NjQxNjI=","avatar_url":"https://avatars3.githubusercontent.com/u/4664162?v=4","gravatar_id":"","url":"https://api.github.com/users/defionscode","html_url":"https://github.com/defionscode","followers_url":"https://api.github.com/users/defionscode/followers","following_url":"https://api.github.com/users/defionscode/following{/other_user}","gists_url":"https://api.github.com/users/defionscode/gists{/gist_id}","starred_url":"https://api.github.com/users/defionscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defionscode/subscriptions","organizations_url":"https://api.github.com/users/defionscode/orgs","repos_url":"https://api.github.com/users/defionscode/repos","events_url":"https://api.github.com/users/defionscode/events{/privacy}","received_events_url":"https://api.github.com/users/defionscode/received_events","type":"User","site_admin":false},"labels":[{"id":410308138,"node_id":"MDU6TGFiZWw0MTAzMDgxMzg=","url":"https://api.github.com/repos/MindPointGroup/RHEL7-STIG/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T15:04:48Z","updated_at":"2018-10-27T15:04:48Z","closed_at":null,"author_association":"MEMBER","body":"The following task returns nothing to `stdout` and thus fails to trigger updates on the subsequent command.\r\n\r\n```yaml\r\n      - name: \"HIGH | RHEL-07-010010 | AUDIT | The file permissions, ownership, and group membership of system files and commands must match the vendor values.\"\r\n        shell: 'rpm -Va --nolinkto --nofiledigest --nosize --nomtime --nodigest --nosignature | grep -E ''^(.M|.....U|......G)'' | tee /dev/stderr | cut -c13- | sed ''s/^ //'' | xargs rpm -qf --qf=''%{name}\\n'' | sort -u'\r\n        args:\r\n            warn: no\r\n        check_mode: no\r\n        failed_when: no\r\n        changed_when: rhel_07_010010_audit.stdout != \"\"\r\n        register: rhel_07_010010_audit\r\n```\r\n\r\nI have a fix ready, PR inbound"}}
{"actor":{"display_login":"defionscode"}}