Add integration test for apt_repository

Tests several ways to specify the repository.  For every repo added, the test
asserts that:

 * the apt-cache was updated as expected (depends on `update_cache` parameter)
 * the PPA key was installed (depends on `repo` format)
This commit is contained in:
James Laska
2014-03-14 13:04:25 -04:00
parent 0cea4d8a32
commit aacccd441b
5 changed files with 180 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
- hosts: testhost
gather_facts: True
roles:
roles:
- { role: test_service, tags: test_service }
- { role: test_pip, tags: test_pip }
- { role: test_gem, tags: test_gem }
- { role: test_yum, tags: test_yum }
- { role: test_apt, tags: test_apt }
- { role: test_apt_repository, tags: test_apt_repository }