)]}'
{"ansible/roles/prechecks/tasks/service_checks.yml":[{"author":{"_account_id":13642,"name":"Vikram Hosakote","email":"vikram.ganesh@gmail.com","username":"vhosakot"},"change_message_id":"f246f1bbe4a8b9a52e60c394567e35b71e5417af","unresolved":false,"context_lines":[{"line_number":13,"context_line":"               or (result.stdout | from_yaml).Server.Version | regex_replace(\u0027(\\\\d+\\\\.\\\\d+\\\\.\\\\d+).*\u0027, \u0027\\\\1\u0027) | version_compare(docker_version_min, \u0027\u003c\u0027)"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- name: Checking if \u0027MountFlags\u0027 for docker service is set to \u0027shared\u0027"},{"line_number":16,"context_line":"  command: systemctl show docker | grep MountFlags"},{"line_number":17,"context_line":"  register: result"},{"line_number":18,"context_line":"  changed_when: false"},{"line_number":19,"context_line":"  failed_when: result.stdout.find(\u0027MountFlags\u003d1048576\u0027) \u003d\u003d -1"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1a122d0e_6a17b651","line":16,"range":{"start_line":16,"start_character":33,"end_line":16,"end_character":34},"updated":"2016-04-17 04:05:49.000000000","message":"Using the pipe operator (|) with command: is risky as the behavior is undefined when the pipe redirection fails.\n\n\nKolla does not use the pipe operator (|) with command: in any task in any playbook.\n\n\nHence, I suggest to use Ansible\u0027s jinja2 filters to do string operations here to achieve the required results.\n\nhttp://docs.ansible.com/ansible/playbooks_filters.html","commit_id":"6574692b5335031e6a46ad84e267e91b0fade4e6"}]}
