Is this still not implemented to ansible core?
2014년 2월 13일 목요일 오후 10시 22분 54초 UTC+9, Johan Söderberg 님의 말: > > Hi, > > The yum_repository module sounds exactly what I've been looking for. > Unfortunately the url doesn't work and I'm unable to find it anywhere. Is > it still available somewhere? > > Thanks in advance, > > /Johan > > Den söndagen den 16:e juni 2013 kl. 19:56:59 UTC+2 skrev Matt S: >> >> I just happen to have created a yum_repository plugin [1] for Ansible >> based on my own needs. In the environment I work with we use a continuous >> integration system to generate new rpm repositories throughout the day, so >> it's helpful to deal with them this way. It also greatly simplifies the >> code for making changes to existing repositories. >> >> For instance, if I wanted to disable my Centos updates repository, I >> could use something like: >> >> ansible all -m yum_repository -a "id=updates state=disabled" >> >> I haven't submitted a pull request yet, but will if other people find it >> useful. >> >> [1] >> https://github.com/mspaulding06/ansible/blob/yum_repository_plugin/library/packaging/yum_repository >> >> On Tuesday, June 4, 2013 5:43:09 PM UTC-7, Chris Bennett wrote: >>> >>> > Haven't used it myself, but have you looked at the >>> > ini_file< >>> http://ansible.cc/docs/modules.html?highlight=replace#ini-file>module? >>> >>> Hmm, no I didn't even think to consider it. But reading the doco, it >>> may do exactly what I want. Thanks! :) >>> >>> Chris >>> >> -- 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/478f2417-9233-4072-9de6-0c9b5d3545c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
