Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosts disappears from play host even when rescued in a block #31707

Closed
evrardjp opened this issue Oct 13, 2017 · 2 comments · Fixed by #31710
Closed

Hosts disappears from play host even when rescued in a block #31707

evrardjp opened this issue Oct 13, 2017 · 2 comments · Fixed by #31710
Labels
affects_2.3 This issue/PR affects Ansible v2.3 bug This issue/PR relates to a bug. support:core This issue/PR relates to code supported by the Ansible Engineering Team.

Comments

@evrardjp
Copy link
Contributor

ISSUE TYPE
  • Bug Report
COMPONENT NAME

core

ANSIBLE VERSION
ansible 2.3.0.0
  config file = /Users/jean0000/evrardjp/ansible-pocs/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.10 (default, Feb  7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]

also applies in:

ansible 2.4.0.0
  config file = /Users/jean0000/evrardjp/ansible-pocs/ansible.cfg
  configured module search path = [u'/Users/jean0000/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/jean0000/.virtualenvs/ansible2.4/lib/python2.7/site-packages/ansible
  executable location = /Users/jean0000/.virtualenvs/ansible2.4/bin/ansible
  python version = 2.7.10 (default, Feb  7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
CONFIGURATION

Nothing edited. My config holds right now:

[defaults]
gathering = smart
OS / ENVIRONMENT

N/A

SUMMARY

Hosts disappears from play host even when rescued in a block

STEPS TO REPRODUCE

https://gist.github.com/evrardjp/564ebf6c18d335c3f8d5eaad639870c1

EXPECTED RESULTS

Host should still be part of the ansible_play_hosts after rescue

ACTUAL RESULTS

Host is not part of the ansible_play_hosts

@ansibot ansibot added affects_2.3 This issue/PR affects Ansible v2.3 bug_report needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Oct 13, 2017
@s-hertel s-hertel removed the needs_triage Needs a first human triage before being processed. label Oct 13, 2017
@evrardjp
Copy link
Contributor Author

@evrardjp
Copy link
Contributor Author

also affects ansible 2.4

bcoca added a commit to bcoca/ansible that referenced this issue Oct 13, 2017
@bcoca bcoca added this to Nominated in 2.4.x Blocker List Oct 13, 2017
@abadger abadger moved this from Nominated to TODO: Next release in 2.4.x Blocker List Oct 16, 2017
bcoca added a commit that referenced this issue Oct 16, 2017
abadger pushed a commit that referenced this issue Oct 17, 2017
fixes #31707

(cherry picked from commit 618627f)
abadger pushed a commit that referenced this issue Oct 18, 2017
fixes #31707

(cherry picked from commit 618627f)
@abadger abadger removed this from TODO: Next release in 2.4.x Blocker List Oct 26, 2017
abadger pushed a commit that referenced this issue Oct 26, 2017
fixes #31707

(cherry picked from commit 618627f)
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.3 This issue/PR affects Ansible v2.3 bug This issue/PR relates to a bug. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants