Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Michael DeHaan
We've been through this discussion a bit before, and we believe the repoquery needs to be there. I'm a bit more curious about why you are spending so much time in the operation and most people are not. When using yum in any sort of important setup, I almost always create a yum mirror with

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Adam Heath
For yum, I disable fastestmirror, set hard-coded repo sites, then configure an http_proxy. For apt, I set hard-coded repo sites, then configure an http_proxy. This seems much lighter weight then cloning an entire OS distribution, when most packages aren't going to be installed anyways. ps:

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Michael DeHaan
Yep, that can be a valid approach. This seems much lighter weight then cloning an entire OS distribution, It's much smaller than the apt repo, however. The other bonus is being able to control the package versions on all of your hosts and update when you choose while still coding only

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Michael DeHaan
Was talking about yum. On Thu, Feb 27, 2014 at 1:17 PM, Adam Heath a...@brainfood.com wrote: On 02/27/2014 12:10 PM, Michael DeHaan wrote: Yep, that can be a valid approach. This seems much lighter weight then cloning an entire OS distribution, It's much smaller than the apt repo,

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Adam Heath
Sure, but it's easier in debian, as snapshot/backports are also mirrored. On 02/27/2014 12:17 PM, Michael DeHaan wrote: Was talking about yum. -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving

Re: [ansible-project] Re: YUM: Much slower in ansible than on the cli

2014-02-27 Thread Michael DeHaan
This is not the place for which-distro-is-best and is off topic, see the subject of this thread and what we are discussing. On Thu, Feb 27, 2014 at 1:18 PM, Adam Heath a...@brainfood.com wrote: Sure, but it's easier in debian, as snapshot/backports are also mirrored. On 02/27/2014 12:17

[ansible-project] Permission denied using ansible-vault edit

2014-02-27 Thread Kesten Broughton
I can encrypt and decrypt but i haven't been able to get edit to work. I'm running on a mac. In my bash_profile i have aliases to sublime -- .bash_profile -- alias edit='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' # a sudo version for when you need

Re: [ansible-project] Module update_alternatives for Debian/Ubuntu

2014-02-27 Thread Ben Turner
Keen to see this in Ansible Core too - does anyone have a link to any previous pull request ? On Tuesday, 13 August 2013 07:26:59 UTC+10, Brian Coca wrote: one was rejected, i put on my list to 'fix it up for acceptance' but haven't gotten around to it yet. -- Brian Coca Stultorum