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 -o (oneline) seems not to be as usefull any more since devel/v2 #11573

Closed
srgvg opened this issue Jul 13, 2015 · 1 comment
Closed

ansible -o (oneline) seems not to be as usefull any more since devel/v2 #11573

srgvg opened this issue Jul 13, 2015 · 1 comment
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release
Milestone

Comments

@srgvg
Copy link
Contributor

srgvg commented Jul 13, 2015

up to 1.9.2 we get

serge@cyberlab:~/test$ ansible --version
ansible 1.9.2
  configured module search path = /usr/share/ansible
serge@cyberlab:~/test$ ansible all -m debug -a var=peer_hostname -o
mkros-oe-2 | success >> {"var": {"peer_hostname": "mkros-oe-1"}}

mkros-on-2 | success >> {"var": {"peer_hostname": "mkros-on-1"}}

mkros-oe-1 | success >> {"var": {"peer_hostname": "mkros-oe-2"}}

mkros-on-1 | success >> {"var": {"peer_hostname": "mkros-on-2"}}

mkros-pr-2 | success >> {"var": {"peer_hostname": "mkros-pr-1"}}

mkros-pr-1 | success >> {"var": {"peer_hostname": "mkros-pr-2"}}

which changed in v2 to:

[A] serge@cyberlab:~/test$ ansible --version
ansible 2.0.0 (devel 6e61881e80) last updated 2015/06/20 16:12:30 (GMT +200)
  lib/ansible/modules/core: (detached HEAD cf273bbaeb) last updated 2015/06/20 16:12:31 (GMT +200)
  lib/ansible/modules/extras: (detached HEAD dd6e8f354a) last updated 2015/06/20 16:12:31 (GMT +200)
  v1/ansible/modules/core: (detached HEAD f8d8af17cd) last updated 2015/06/20 16:12:35 (GMT +200)
  v1/ansible/modules/extras: (detached HEAD 495ad450e5) last updated 2015/06/20 16:12:38 (GMT +200)
  configured module search path = /usr/share/ansible

[A] serge@cyberlab:~/test$ ansible all -m debug -a var=peer_hostname -o
mkros-on-2 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-on-1"
}
mkros-oe-2 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-oe-1"
}
mkros-pr-2 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-pr-1"
}
mkros-on-1 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-on-2"
}
mkros-oe-1 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-oe-2"
}
mkros-pr-1 | SUCCESS => {
    "verbose_always": true, 
    "changed": false, 
    "peer_hostname": "mkros-pr-2"
}

@bcoca bcoca added bug_report P2 Priority 2 - Issue Blocks Release labels Jul 13, 2015
@bcoca bcoca added this to the v2 milestone Jul 13, 2015
@bcoca
Copy link
Member

bcoca commented Jul 13, 2015

I think its not implemented yet, i'll take care of it

@bcoca bcoca closed this as completed in 8ad52c2 Jul 13, 2015
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. P2 Priority 2 - Issue Blocks Release
Projects
None yet
Development

No branches or pull requests

3 participants