I am a complete newbie to Ansible and I'm piloting the tool at our company 
by writing a patching update playbook.

I am trying to move all *repo files in /etc/yum.repos.d to 
/etc/yum.repos.d/off so we can put our own custom repo file in place there. 
 I know we can disable repos with the yum module, but we have a lot of 
custom repo files out in the directory on the servers, so I'd like to just 
move them all to 'off' and be done with it.

Is there a way to /bin/mv /etc/yum.repos.d/*repo /etc/yum.repos.d/off?

Also, if anyone has any tips/advice on pointing to a custom repo site and 
doing a yum update (and rebooting)... :-)

--Michael

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to