{"action":"created","issue":{"url":"https://api.github.com/repos/XSCE/xsce/issues/210","labels_url":"https://api.github.com/repos/XSCE/xsce/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/XSCE/xsce/issues/210/comments","events_url":"https://api.github.com/repos/XSCE/xsce/issues/210/events","html_url":"https://github.com/XSCE/xsce/pull/210","id":56909197,"number":210,"title":"Network with no gateway.","user":{"login":"jvonau","id":5579710,"avatar_url":"https://avatars.githubusercontent.com/u/5579710?v=3","gravatar_id":"","url":"https://api.github.com/users/jvonau","html_url":"https://github.com/jvonau","followers_url":"https://api.github.com/users/jvonau/followers","following_url":"https://api.github.com/users/jvonau/following{/other_user}","gists_url":"https://api.github.com/users/jvonau/gists{/gist_id}","starred_url":"https://api.github.com/users/jvonau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvonau/subscriptions","organizations_url":"https://api.github.com/users/jvonau/orgs","repos_url":"https://api.github.com/users/jvonau/repos","events_url":"https://api.github.com/users/jvonau/events{/privacy}","received_events_url":"https://api.github.com/users/jvonau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-07T12:10:06Z","updated_at":"2015-02-07T13:51:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/XSCE/xsce/pulls/210","html_url":"https://github.com/XSCE/xsce/pull/210","diff_url":"https://github.com/XSCE/xsce/pull/210.diff","patch_url":"https://github.com/XSCE/xsce/pull/210.patch"},"body":"Without a gateway present ansible crashes hard at:\r\nTASK: [network | Discover LAN iface] ****************************************** \r\nfatal: [127.0.0.1] => One or more undefined variables: 'dict object' has no attribute 'alias'\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n\r\nPLAY RECAP ******************************************************************** \r\n           to retry, use: --limit @/root/xsce-base.retry\r\n\r\n127.0.0.1                  : ok=42   changed=7    unreachable=1    failed=0   \r\n\r\nPatches 1 & 2 reorder the setting of xsce_lan_iface to avoid the running of shell code if xsce_lan_iface declared in local_vars.\r\nPatch 3 allows the skipping of the of unneeded gateway play-books, and disables iptables when none is declared for xsce_wan_iface  in local_vars. The disabling of the services is not addressed, just bypassing those playbooks to run to success.  Those unneeded services can be disabled in the GUI later if needed\r\n"},"comment":{"url":"https://api.github.com/repos/XSCE/xsce/issues/comments/73365049","html_url":"https://github.com/XSCE/xsce/pull/210#issuecomment-73365049","issue_url":"https://api.github.com/repos/XSCE/xsce/issues/210","id":73365049,"user":{"login":"tim-moody","id":5678731,"avatar_url":"https://avatars.githubusercontent.com/u/5678731?v=3","gravatar_id":"","url":"https://api.github.com/users/tim-moody","html_url":"https://github.com/tim-moody","followers_url":"https://api.github.com/users/tim-moody/followers","following_url":"https://api.github.com/users/tim-moody/following{/other_user}","gists_url":"https://api.github.com/users/tim-moody/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-moody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-moody/subscriptions","organizations_url":"https://api.github.com/users/tim-moody/orgs","repos_url":"https://api.github.com/users/tim-moody/repos","events_url":"https://api.github.com/users/tim-moody/events{/privacy}","received_events_url":"https://api.github.com/users/tim-moody/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T13:51:54Z","updated_at":"2015-02-07T13:51:54Z","body":"This is due to missing }, fixed in 208.\nFrom: Jerry Vonau \nSent: Saturday, February 07, 2015 7:10 AM\nTo: XSCE/xsce \nSubject: [xsce] Network with no gateway. (#210)\n\nWithout a gateway present ansible crashes hard at:\nTASK: [network | Discover LAN iface] ****************************************** \nfatal: [127.0.0.1] => One or more undefined variables: 'dict object' has no attribute 'alias'\n\nFATAL: all hosts have already failed -- aborting\n\nPLAY RECAP ******************************************************************** \nto retry, use: --limit @/root/xsce-base.retry\n\n127.0.0.1 : ok=42 changed=7 unreachable=1 failed=0 \n\nPatches 1 & 2 reorder the setting of xsce_lan_iface to avoid the running of shell code if xsce_lan_iface declared in local_vars.\nPatch 3 allows the skipping of the of unneeded gateway play-books, and disables iptables when none is declared for xsce_wan_iface in local_vars. The disabling of the services is not addressed, just bypassing those playbooks to run to success. Those unneeded services can be disabled in the GUI later if needed\n\n\n--------------------------------------------------------------------------------\n\nYou can view, comment on, or merge this pull request online at:\n  https://github.com/XSCE/xsce/pull/210\n\nCommit Summary\n  a.. run detection only when set to auto, local_vars knows best \n  b.. move condition \n  c.. respect none as a xsce_wan_iface if set in vars \nFile Changes\n  a.. M roles/gateway/tasks/main.yml (17) \n  b.. M roles/network/tasks/main.yml (33) \nPatch Links:\n  a.. https://github.com/XSCE/xsce/pull/210.patch \n  b.. https://github.com/XSCE/xsce/pull/210.diff \n—\nReply to this email directly or view it on GitHub.\n"}}