{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5400","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5400/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5400/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5400/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/5400","id":185514049,"number":5400,"title":"apt_repository: doc generation confused by file mode - interpret it as an octal value","user":{"login":"prahal","id":140865,"avatar_url":"https://avatars.githubusercontent.com/u/140865?v=3","gravatar_id":"","url":"https://api.github.com/users/prahal","html_url":"https://github.com/prahal","followers_url":"https://api.github.com/users/prahal/followers","following_url":"https://api.github.com/users/prahal/following{/other_user}","gists_url":"https://api.github.com/users/prahal/gists{/gist_id}","starred_url":"https://api.github.com/users/prahal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prahal/subscriptions","organizations_url":"https://api.github.com/users/prahal/orgs","repos_url":"https://api.github.com/users/prahal/repos","events_url":"https://api.github.com/users/prahal/events{/privacy}","received_events_url":"https://api.github.com/users/prahal/received_events","type":"User","site_admin":false},"labels":[{"id":437720344,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","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":414073372,"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-26T21:23:29Z","updated_at":"2016-12-07T19:55:07Z","closed_at":null,"body":"##### ISSUE TYPE\n- Bug Report\n##### COMPONENT NAME\n\napt_repository\n##### ANSIBLE VERSION\n\n```\nansible 2.1.1.0\n  config file = /etc/ansible/ansible.cfg\n  configured module search path = Default w/o overrides\n```\n##### CONFIGURATION\n##### OS / ENVIRONMENT\n\n( Debian stretch , irrelevant here)\n##### SUMMARY\n\nThe ansible docs website tells to set '420' as default mode for apt sources.list.d files.\nWhich is wrong per debian apt breaks on this.\nLuckily this is only in the generated documentation,\nhttps://docs.ansible.com/ansible/apt_repository_module.html#options\nthe documentation from the sources is fine but misses quotes around '0644' mode value\nso the docs web page generation does not interpret this as an octal value (0644 octal equals 420 decimal).\nhttps://github.com/ansible/ansible-modules-core/blob/devel/packaging/os/apt_repository.py#L48\n##### STEPS TO REPRODUCE\n\n```\nOpen https://docs.ansible.com/ansible/apt_repository_module.html#options\n```\n##### EXPECTED RESULTS\n\n```\nOpen https://docs.ansible.com/ansible/apt_repository_module.html#options\nand read 0644 as default mode value for apt sources.\n```\n##### ACTUAL RESULTS\n\n```\nOpen https://docs.ansible.com/ansible/apt_repository_module.html#options\nand read 420 as default mode value for apt sources.\n```\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/265555109","html_url":"https://github.com/ansible/ansible-modules-core/issues/5400#issuecomment-265555109","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5400","id":265555109,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T19:55:07Z","updated_at":"2016-12-07T19:55:07Z","body":"This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible\n\nPlease read through the <a href=\"http://docs.ansible.com/ansible/dev_guide/repomerge.html#move-issues-and-prs-to-new-repo\">repomerge</a> page in the dev guide. The guide contains links to tools which automatically move your issue or pull request to the ansible/ansible repo.\n\n<!-- boilerplate: repomerge -->"}}
{"actor":{"display_login":"ansibot"}}