diff options
author | Stephen Smoogen <smooge@redhat.com> | 2016-04-06 01:52:19 +0000 |
---|---|---|
committer | Stephen Smoogen <smooge@redhat.com> | 2016-04-06 01:52:19 +0000 |
commit | 10e7fcd6e39afb2d73b59f721458ff8e8c593d3c (patch) | |
tree | 90a643d74fe28d02d187a707212436ea067ff252 | |
parent | a4cd4ce026214c5c4c8240d83fd0b5a2320687b9 (diff) | |
download | ansible-10e7fcd6e39afb2d73b59f721458ff8e8c593d3c.tar.gz ansible-10e7fcd6e39afb2d73b59f721458ff8e8c593d3c.tar.xz ansible-10e7fcd6e39afb2d73b59f721458ff8e8c593d3c.zip |
need to make all these sections better coordinated
-rwxr-xr-x | files/download/sync-up-downloads.sh.ib01 | 2 | ||||
-rw-r--r-- | playbooks/groups/download.yml | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/files/download/sync-up-downloads.sh.ib01 b/files/download/sync-up-downloads.sh.ib01 index 44d66da92..7b6662374 100755 --- a/files/download/sync-up-downloads.sh.ib01 +++ b/files/download/sync-up-downloads.sh.ib01 @@ -12,6 +12,8 @@ ALT_EXCLUDES="" EPL_EXCLUDES="" FED_EXCLUDES="" +LAST_SYNC='/usr/local/bin/last-sync' + SERVER=dl.fedoraproject.org # The Buffet. diff --git a/playbooks/groups/download.yml b/playbooks/groups/download.yml index 75f842b94..82ebf2587 100644 --- a/playbooks/groups/download.yml +++ b/playbooks/groups/download.yml @@ -59,6 +59,10 @@ - name: put in last sync scrypt for download-ib01 copy: src="{{ files}}/download/last-sync" dest=/usr/local/bin/last-sync mode=0755 when: inventory_hostname == 'download-ib01.fedoraproject.org' + - name: install bc so last-sync works. + yum: pkg=bc state=present + when: inventory_hostname == 'download-ib01.fedoraproject.org' + |