payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/kubespray/issues/5160","repository_url":"https://api.github.com/repos/kubernetes-sigs/kubespray","labels_url":"https://api.github.com/repos/kubernetes-sigs/kubespray/issues/5160/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/kubespray/issues/5160/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/kubespray/issues/5160/events","html_url":"https://github.com/kubernetes-sigs/kubespray/issues/5160","id":491803564,"node_id":"MDU6SXNzdWU0OTE4MDM1NjQ=","number":5160,"title":"Remove node (remove-node.yml) not working in kubespray 2.11","user":{"login":"mjlshen","id":3506793,"node_id":"MDQ6VXNlcjM1MDY3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/3506793?v=4","gravatar_id":"","url":"https://api.github.com/users/mjlshen","html_url":"https://github.com/mjlshen","followers_url":"https://api.github.com/users/mjlshen/followers","following_url":"https://api.github.com/users/mjlshen/following{/other_user}","gists_url":"https://api.github.com/users/mjlshen/gists{/gist_id}","starred_url":"https://api.github.com/users/mjlshen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjlshen/subscriptions","organizations_url":"https://api.github.com/users/mjlshen/orgs","repos_url":"https://api.github.com/users/mjlshen/repos","events_url":"https://api.github.com/users/mjlshen/events{/privacy}","received_events_url":"https://api.github.com/users/mjlshen/received_events","type":"User","site_admin":false},"labels":[{"id":268432881,"node_id":"MDU6TGFiZWwyNjg0MzI4ODE=","url":"https://api.github.com/repos/kubernetes-sigs/kubespray/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-09-10T17:27:31Z","updated_at":"2019-09-30T14:03:21Z","closed_at":"2019-09-30T14:03:21Z","author_association":"NONE","body":"**Environment**:\r\n\r\n- **Cloud provider or hardware configuration:**\r\nBare-metal VMs\r\n\r\n- **OS:**\r\nLinux 3.10.0-957.21.3.el7.x86_64 x86_64\r\nNAME=\"Red Hat Enterprise Linux Server\"\r\nVERSION=\"7.6 (Maipo)\"\r\nID=\"rhel\"\r\nID_LIKE=\"fedora\"\r\nVARIANT=\"Server\"\r\nVARIANT_ID=\"server\"\r\nVERSION_ID=\"7.6\"\r\nPRETTY_NAME=\"Red Hat Enterprise Linux\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:redhat:enterprise_linux:7.6:GA:server\"\r\nHOME_URL=\"https://www.redhat.com/\"\r\nBUG_REPORT_URL=\"https://bugzilla.redhat.com/\"\r\nREDHAT_BUGZILLA_PRODUCT=\"Red Hat Enterprise Linux 7\"\r\nREDHAT_BUGZILLA_PRODUCT_VERSION=7.6\r\nREDHAT_SUPPORT_PRODUCT=\"Red Hat Enterprise Linux\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7.6\"\r\n\r\n- **Version of Ansible**:\r\nAnsible 2.7.10\r\n\r\n**Kubespray version (commit) (`git rev-parse --short HEAD`):**\r\n2.11 (86cc703)\r\n\r\n**Network plugin used**:\r\nCalico\r\n\r\n**Command used to invoke ansible**:\r\nRecommended command in README, but with relevant changes in inventory file/ssh key/nodes to remove\r\n```\r\nansible-playbook -i inventory/mycluster/hosts.yml remove-node.yml -b -v \\\r\n  --private-key=~/.ssh/private_key \\\r\n  --extra-vars \"node=nodename,nodename2\"\r\n```\r\n\r\n**Output of ansible run**:\r\n```\r\n\"The conditional check 'ansible_os_family not in\r\n[\"CoreOS\", \"Container Linux by CoreOS\"]' failed.\r\nThe error was: error while evaluating conditional\r\n(ansible_os_family not in [\"CoreOS\", \"Container Linux by CoreOS\"]):\r\n'ansible_os_family' is undefined\r\n\r\nThe error appears to have been in '/var/lib/awx/projects/_9__kubespray_211/roles/reset/tasks/main.yml': line 289, column 3,\r\nbut may be elsewhere in the file depending on the exact syntax problem.\r\nThe offending line appears to be: \r\n\r\n- name: reset | Restart network\r\n^ here\"\r\n```\r\n"}}
other: {"actor":{"display_login":"mjlshen"}}