Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test_nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down