]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
downstream-setup: add tasks to disable and enable yum repos. 52/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 19 Jun 2015 15:49:39 +0000 (10:49 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 19 Jun 2015 16:34:55 +0000 (11:34 -0500)
commitde7f9c38f995aceb9e05ed0754946e708085ca11
tree91fb903fcd1add865397acb2d5ed6a6b55300efc
parent6c10e5c4e58760d413036d29fc11cf6cf8d81156
downstream-setup: add tasks to disable and enable yum repos.

This works similar to downloading yum_repos. You can specific a repo
file to disable using 'disable_yum_repos' and enable them by using
'enable_yum_repos'. If you use 'disable_yum_repos' with 'cleanup' it
will enable the repos listed in 'disable_yum_repos' - this feature is
used with teuthology and the Ansible task.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/downstream-setup/defaults/main.yml
roles/downstream-setup/tasks/disable_yum_repos.yml [new file with mode: 0644]
roles/downstream-setup/tasks/enable_yum_repos.yml [new file with mode: 0644]
roles/downstream-setup/tasks/main.yml