- shell: if [ -f /thepath/* ]; then <move_command>; fi
On 12/17/2013 11:18 AM, Timothy Gerla wrote:
Sorry, my bad--"command" doesn't let you use shell wildcards and
stuff, but "shell" does, as you found. :)
-Tim
On Tue, Dec 17, 2013 at 9:16 AM, Michael Jeffrey <[email protected]
<mailto:[email protected]>> wrote:
I tried mv with 'command' and it was squawking at
/etc/yum.repos.d/*repo (error: could not stat file) like it wasn't
wildcarding the asterisk. Using 'shell' appears to work OK.
I learned if there is no file to move, it errors, but I can throw
ignore_errors at it. I'm learning. :-)
I'll look into yum-config-manager. The hard part is each system
is unique and configured differently, so that's why I decided to
use the hammer and just move all/any yum repos out of the way and
start fresh. :-)
MJ
--
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]
<mailto:ansible-project%[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/groups/opt_out.
--
Tim Gerla
[email protected] <mailto:[email protected]>
--
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.
--
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.