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

ansible-runner: be able to get success hosts #17

Open
talset opened this issue Sep 16, 2020 · 0 comments
Open

ansible-runner: be able to get success hosts #17

talset opened this issue Sep 16, 2020 · 0 comments

Comments

@talset
Copy link
Member

talset commented Sep 16, 2020

As a user I want to get the hosts on which ansible successfully run

Basically get

2020-09-15 15:35:56,548 p=40 u=root |  foo                  : ok=2    changed=1    unreachable=0    failed=0
2020-09-15 15:35:56,548 p=40 u=root |  bar                  : ok=1    changed=1    unreachable=0    failed=1  
2020-09-15 15:35:56,548 p=40 u=root |  127.0.0.1                  : ok=2    changed=1    unreachable=0    failed=0   

extract

foo
127.0.0.1

Use ansible callback ? https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/default.py#L342-L377

https://paste-owl.cycloid.io/?e6180cf6b89b1799#6D6sj5EnvzYQWgKtwScfddge6QDkreBTwmrzGAknh9kd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant