diff --git a/playbook.yml b/playbook.yml index f3e7ddd..32c3d67 100644 --- a/playbook.yml +++ b/playbook.yml @@ -2,6 +2,9 @@ - hosts: all gather_facts: no tasks: + - name: Add ppa:nginx/stable repo + apt_repository: repo='ppa:nginx/stable' + - name: Install nginx, curl and tree apt: pkg={{ item }} state=present with_items: diff --git a/test_nginx.py b/test_nginx.py index 52c358e..9ebc585 100644 --- a/test_nginx.py +++ b/test_nginx.py @@ -4,7 +4,7 @@ def test_package(Package): nginx = Package("nginx") assert nginx.is_installed - assert nginx.version.startswith("1.4") + assert nginx.version.startswith("1.8") def test_service(Service):