Skip to content
Snippets Groups Projects
Commit cdb80016 authored by Stephane Armanet's avatar Stephane Armanet
Browse files

Clen YUM cache before running the ansible call back

parent 325ded4c
No related branches found
Tags v0.5.9
No related merge requests found
Pipeline #23086 passed
...@@ -27,9 +27,9 @@ do ...@@ -27,9 +27,9 @@ do
sleep 2 sleep 2
done done
yum makecache 2>&1 >> $LOGFILE yum makecache 2>&1 >> $LOGFILE
yum install -y python2-ansible-tower-cli 2>&1 >> $LOGFILE yum install -y python2-ansible-tower-cli 2>&1 >> $LOGFILE
yum clean all 2>&1 >> $LOGFILE
wget -O ~/.tower_cli.cfg {{ kickstart_url }}/tower_cli.cfg 2>&1 >> $LOGFILE wget -O ~/.tower_cli.cfg {{ kickstart_url }}/tower_cli.cfg 2>&1 >> $LOGFILE
chmod 600 ~/.tower_cli.cfg 2>&1 >> $LOGFILE chmod 600 ~/.tower_cli.cfg 2>&1 >> $LOGFILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment