{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5756","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5756/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5756/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5756/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/5756","id":192262993,"number":5756,"title":"Commands modules: cutting off \"long\" lines","user":{"login":"cherusk","id":10729954,"avatar_url":"https://avatars.githubusercontent.com/u/10729954?v=3","gravatar_id":"","url":"https://api.github.com/users/cherusk","html_url":"https://github.com/cherusk","followers_url":"https://api.github.com/users/cherusk/followers","following_url":"https://api.github.com/users/cherusk/following{/other_user}","gists_url":"https://api.github.com/users/cherusk/gists{/gist_id}","starred_url":"https://api.github.com/users/cherusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherusk/subscriptions","organizations_url":"https://api.github.com/users/cherusk/orgs","repos_url":"https://api.github.com/users/cherusk/repos","events_url":"https://api.github.com/users/cherusk/events{/privacy}","received_events_url":"https://api.github.com/users/cherusk/received_events","type":"User","site_admin":false},"labels":[{"id":437720380,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":132571937,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":132897312,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_info","name":"needs_info","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-29T11:59:06Z","updated_at":"2016-11-29T20:53:11Z","closed_at":null,"body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the plugin/module/task -->\r\nall command modules\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\n2.2.0.0\r\n2.1.1.0\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nsudo_flags = -H -S -n -i\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nOrig.:\r\nSUSE Linux Enterprise Server 11 SP4 or\r\nDebian GNU/Linux stretch/sid\r\n\r\nTarg.\r\nSUSE Linux Enterprise Server 11 SP4\r\n-->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nLong lines are cut off at 81 chars\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```\r\n  - name: determine former mnt opts\r\n    raw: findmnt -o OPTIONS --target {{ mnt_pnt }} | grep -v OPTIONS \r\n    register: opts_out\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nLong lines are not truncated in any way.\r\n\r\ne.g.:\r\n\r\n[matthias@fedora24 ~]$ findmnt -o OPTIONS --target /sys/fs/cgroup/systemd\r\nOPTIONS\r\nrw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd\r\n            \r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nansible fedora24 -m raw -a 'findmnt -o OPTIONS --target /sys/fs/cgroup/systemd' -k -K -s -u matthias\r\n\r\nfedora24 | SUCCESS | rc=0 >>\r\nOPTIONS\r\nrw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgr\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/263695313","html_url":"https://github.com/ansible/ansible-modules-core/issues/5756#issuecomment-263695313","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5756","id":263695313,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T20:53:11Z","updated_at":"2016-11-29T20:53:11Z","body":"running your command directly and through ansible i get same output. Using this test i see no truncation:\r\n\r\n`ansible -m raw -a 'for a in $(seq 0 1 300); do echo -n lola; done`\r\n\r\n```\r\n192.168.0.24 | SUCCESS | rc=0 >>\r\nlolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolalolaShared connection to 192.168.0.24 closed.\r\n```\r\n"}}
{"actor":{"display_login":"bcoca"}}