{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/10083","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/10083/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/10083/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/10083/events","html_url":"https://github.com/openshift/openshift-ansible/issues/10083","id":360337139,"node_id":"MDU6SXNzdWUzNjAzMzcxMzk=","number":10083,"title":"[openstack] RFE: Deprovision image tasks missing","user":{"login":"e-minguez","id":346758,"node_id":"MDQ6VXNlcjM0Njc1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/346758?v=4","gravatar_id":"","url":"https://api.github.com/users/e-minguez","html_url":"https://github.com/e-minguez","followers_url":"https://api.github.com/users/e-minguez/followers","following_url":"https://api.github.com/users/e-minguez/following{/other_user}","gists_url":"https://api.github.com/users/e-minguez/gists{/gist_id}","starred_url":"https://api.github.com/users/e-minguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-minguez/subscriptions","organizations_url":"https://api.github.com/users/e-minguez/orgs","repos_url":"https://api.github.com/users/e-minguez/repos","events_url":"https://api.github.com/users/e-minguez/events{/privacy}","received_events_url":"https://api.github.com/users/e-minguez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T14:50:50Z","updated_at":"2018-09-14T14:50:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I think the build_image.yml playbook can be improved by adding tasks to clean up the image such as:\r\n\r\n- Removing the yum cache\r\n- Remove /var/log/* files\r\n- Remove /etc/ssh/ssh_host_* files\r\n- Remove /etc/udev/rules.d/70-persistent-net.rules & /etc/udev/rules.d/75-persistent-net-generator.rules\r\n- Remove /etc/sudoers.d/00-openshift-no-requiretty\r\n\r\nhttps://github.com/openshift/openshift-ansible/blob/84f4341befae16965d59a1a277150e470dc96016/playbooks/openstack/openshift-cluster/build_image.yml#L161"}}
{"actor":{"display_login":"e-minguez"}}