From: Andrew Schoen Date: Wed, 22 Mar 2017 21:18:57 +0000 (-0500) Subject: tests: adds a task to download a repo file for nightly rhel7 packages X-Git-Tag: v2.2.0~20^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=66f3f317023d0b61c6d37623943d5c3763924694;p=ceph-ansible.git tests: adds a task to download a repo file for nightly rhel7 packages This is a url to an actual repo file, not a baseurl to use in a repo. Signed-off-by: Andrew Schoen --- diff --git a/tests/functional/rhcs_setup.yml b/tests/functional/rhcs_setup.yml index 21bc63683..93055b435 100644 --- a/tests/functional/rhcs_setup.yml +++ b/tests/functional/rhcs_setup.yml @@ -27,6 +27,14 @@ set_fact: is_atomic: '{{ stat_ostree.stat.exists }}' + - name: install nightly rhel7 repo + get_url: + url: "{{ rhel7_repo_url }}" + dest: /etc/yum.repos.d + owner: root + group: root + when: not is_atomic + - hosts: mons gather_facts: false become: yes diff --git a/tox.ini b/tox.ini index f9b2d5b57..4d595db56 100644 --- a/tox.ini +++ b/tox.ini @@ -101,7 +101,7 @@ commands= vagrant up --no-provision {posargs:--provider=virtualbox} bash {toxinidir}/tests/scripts/generate_ssh_config.sh {changedir} - rhcs: ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "repo_url={env:REPO_URL:}" --skip-tags "vagrant_setup" + rhcs: ansible-playbook -vv -i {changedir}/hosts {toxinidir}/tests/functional/rhcs_setup.yml --extra-vars "repo_url={env:REPO_URL:} rhel7_repo_url={env:RHEL7_REPO_URL:}" --skip-tags "vagrant_setup" ansible-playbook -vv -i {changedir}/hosts {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars '\ \{\