{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/36524","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/36524/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/36524/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/36524/events","html_url":"https://github.com/ansible/ansible/pull/36524","id":299025904,"number":36524,"title":"Adds example on how to \"delegate\" check_for_connection","user":{"login":"tterranigma","id":11805218,"avatar_url":"https://avatars2.githubusercontent.com/u/11805218?v=4","gravatar_id":"","url":"https://api.github.com/users/tterranigma","html_url":"https://github.com/tterranigma","followers_url":"https://api.github.com/users/tterranigma/followers","following_url":"https://api.github.com/users/tterranigma/following{/other_user}","gists_url":"https://api.github.com/users/tterranigma/gists{/gist_id}","starred_url":"https://api.github.com/users/tterranigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tterranigma/subscriptions","organizations_url":"https://api.github.com/users/tterranigma/orgs","repos_url":"https://api.github.com/users/tterranigma/repos","events_url":"https://api.github.com/users/tterranigma/events{/privacy}","received_events_url":"https://api.github.com/users/tterranigma/received_events","type":"User","site_admin":false},"labels":[{"id":513652538,"url":"https://api.github.com/repos/ansible/ansible/labels/core_review","name":"core_review","color":"ededed","default":false},{"id":48464763,"url":"https://api.github.com/repos/ansible/ansible/labels/docs_pull_request","name":"docs_pull_request","color":"0052cc","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636352796,"url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-21T15:58:06Z","updated_at":"2018-02-23T12:56:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/36524","html_url":"https://github.com/ansible/ansible/pull/36524","diff_url":"https://github.com/ansible/ansible/pull/36524.diff","patch_url":"https://github.com/ansible/ansible/pull/36524.patch"},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\n`wait_for_connection` is an action plugin and does not support `delegate_to`. I added a note and an example on how to overcome this limitation, without mentioning 'action plugins' or other technical terms that are irrelevant to end users.\r\n\r\nSee #36519 \r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Docs Pull Request\r\n\r\n##### COMPONENT NAME\r\nwait_for_connection\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.6.0 (waitforconnectiondoc c534f60828) last updated 2018/02/21 16:55:00 (GMT +200)\r\n  config file = None\r\n  configured module search path = ['/home/nikos/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /home/nikos/Projects/ansible/lib/ansible\r\n  executable location = /home/nikos/Projects/ansible/bin/ansible\r\n  python version = 3.6.4 (default, Jan  5 2018, 02:35:40) [GCC 7.2.1 20171224]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/368002063","html_url":"https://github.com/ansible/ansible/pull/36524#issuecomment-368002063","issue_url":"https://api.github.com/repos/ansible/ansible/issues/36524","id":368002063,"user":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars0.githubusercontent.com/u/388198?v=4","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T12:56:41Z","updated_at":"2018-02-23T12:56:41Z","author_association":"MEMBER","body":"Well, looking at the example, I think this is the wrong way to do this. Although technically possible, the easier approach is to start targeting the (newly created) remote node in a subsequent play, just as you would do with existing systems.\r\n\r\nSo I prefer not to add this example because it adds unneeded complexity."}}
{"actor":{"display_login":"dagwieers"}}