{"action":"created","issue":{"url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/19","repository_url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories","labels_url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/19/comments","events_url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/19/events","html_url":"https://github.com/oVirt/ovirt-ansible-repositories/issues/19","id":363624745,"node_id":"MDU6SXNzdWUzNjM2MjQ3NDU=","number":19,"title":"Failing on backup when there is no repo added","user":{"login":"petr-balogh","id":16169617,"node_id":"MDQ6VXNlcjE2MTY5NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/16169617?v=4","gravatar_id":"","url":"https://api.github.com/users/petr-balogh","html_url":"https://github.com/petr-balogh","followers_url":"https://api.github.com/users/petr-balogh/followers","following_url":"https://api.github.com/users/petr-balogh/following{/other_user}","gists_url":"https://api.github.com/users/petr-balogh/gists{/gist_id}","starred_url":"https://api.github.com/users/petr-balogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petr-balogh/subscriptions","organizations_url":"https://api.github.com/users/petr-balogh/orgs","repos_url":"https://api.github.com/users/petr-balogh/repos","events_url":"https://api.github.com/users/petr-balogh/events{/privacy}","received_events_url":"https://api.github.com/users/petr-balogh/received_events","type":"User","site_admin":false},"labels":[{"id":762423851,"node_id":"MDU6TGFiZWw3NjI0MjM4NTE=","url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"petr-balogh","id":16169617,"node_id":"MDQ6VXNlcjE2MTY5NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/16169617?v=4","gravatar_id":"","url":"https://api.github.com/users/petr-balogh","html_url":"https://github.com/petr-balogh","followers_url":"https://api.github.com/users/petr-balogh/followers","following_url":"https://api.github.com/users/petr-balogh/following{/other_user}","gists_url":"https://api.github.com/users/petr-balogh/gists{/gist_id}","starred_url":"https://api.github.com/users/petr-balogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petr-balogh/subscriptions","organizations_url":"https://api.github.com/users/petr-balogh/orgs","repos_url":"https://api.github.com/users/petr-balogh/repos","events_url":"https://api.github.com/users/petr-balogh/events{/privacy}","received_events_url":"https://api.github.com/users/petr-balogh/received_events","type":"User","site_admin":false},"assignees":[{"login":"petr-balogh","id":16169617,"node_id":"MDQ6VXNlcjE2MTY5NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/16169617?v=4","gravatar_id":"","url":"https://api.github.com/users/petr-balogh","html_url":"https://github.com/petr-balogh","followers_url":"https://api.github.com/users/petr-balogh/followers","following_url":"https://api.github.com/users/petr-balogh/following{/other_user}","gists_url":"https://api.github.com/users/petr-balogh/gists{/gist_id}","starred_url":"https://api.github.com/users/petr-balogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petr-balogh/subscriptions","organizations_url":"https://api.github.com/users/petr-balogh/orgs","repos_url":"https://api.github.com/users/petr-balogh/repos","events_url":"https://api.github.com/users/petr-balogh/events{/privacy}","received_events_url":"https://api.github.com/users/petr-balogh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-25T15:02:13Z","updated_at":"2018-09-25T20:09:23Z","closed_at":"2018-09-25T20:09:23Z","author_association":"MEMBER","body":"https://github.com/oVirt/ovirt-ansible-repositories/blob/master/tasks/backup-repos.yml\r\n\r\nWe are trying to use subscription manager, so at the moment of using repo we don't have any repo in /et/yum.repos.d/\r\n\r\nfatal: [our.host.fqdn]: FAILED! => {\"changed\": true, \"cmd\": \"cp /etc/yum.repos.d/*.repo /tmp/repo-backup-2018-09-25-14:38:49\", \"delta\": \"0:00:00.009460\", \"end\": \"2018-09-25 14:38:59.945452\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2018-09-25 14:38:59.935992\", \"stderr\": \"cp: cannot stat ‘/etc/yum.repos.d/*.repo’: No such file or directory\", \"stderr_lines\": [\"cp: cannot stat ‘/etc/yum.repos.d/*.repo’: No such file or directory\"], \"stdout\": \"\", \"stdout_lines\": []}"},"comment":{"url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/comments/424483696","html_url":"https://github.com/oVirt/ovirt-ansible-repositories/issues/19#issuecomment-424483696","issue_url":"https://api.github.com/repos/oVirt/ovirt-ansible-repositories/issues/19","id":424483696,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ4MzY5Ng==","user":{"login":"petr-balogh","id":16169617,"node_id":"MDQ6VXNlcjE2MTY5NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/16169617?v=4","gravatar_id":"","url":"https://api.github.com/users/petr-balogh","html_url":"https://github.com/petr-balogh","followers_url":"https://api.github.com/users/petr-balogh/followers","following_url":"https://api.github.com/users/petr-balogh/following{/other_user}","gists_url":"https://api.github.com/users/petr-balogh/gists{/gist_id}","starred_url":"https://api.github.com/users/petr-balogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petr-balogh/subscriptions","organizations_url":"https://api.github.com/users/petr-balogh/orgs","repos_url":"https://api.github.com/users/petr-balogh/repos","events_url":"https://api.github.com/users/petr-balogh/events{/privacy}","received_events_url":"https://api.github.com/users/petr-balogh/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T20:09:23Z","updated_at":"2018-09-25T20:09:23Z","author_association":"MEMBER","body":"Fixed in #20, so closing the issue"}}
{"actor":{"display_login":"petr-balogh"}}