I was assuming you were talking about ansible-playbook, and while the above makes sense for ansible, it doesn't make sense for ansible-playbook, and I'm wondering if the two should be different.
(It might be better to make --ask-sudo-pass be an error for /usr/bin/ansible without --sudo ?) On Sat, May 3, 2014 at 9:02 PM, Jeffrey 'jf' Lim <[email protected]>wrote: > hi guys, > > I recently submitted a PR to the project for adding the "implies" back > to the *ansible* binary (as opposed to the *ansible-playbook* binary, > which is for plays containing multiple commands). The purpose for this > was to have *ansible* automatically imply '--sudo' when you give it > '--ask-sudo-pass', or '-K' > (https://github.com/ansible/ansible/pull/7264). > > `ansible` (again, as opposed to `ansible-playbook`) should only be for > running just the one command; so I dont really see why this should be > a problem. Am I missing something here? Does nobody think that > `ansible` should assume '--sudo' when you pass it '--ask-sudo-pass'? > > -jf > > -- > He who settles on the idea of the intelligent man as a static entity > only shows himself to be a fool. > > Mensan / Full-Stack Technical Polymath / System Administrator > 12 years over the entire web stack: Performance, Sysadmin, Ruby and > Frontend > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAE4WMGiYwK4sSq4Utxzm35tkpfwe-i2-r7GgVzs5-KDP4-%2By0Q%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyFna_45Sj4qmDhe6gz%2BtDiHy6%2Bxf9yCOrpJkatKW3JTQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
