diff --git a/.travis.yml b/.travis.yml index ce37ae9..5d3b1be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ script: - 'docker exec ${container_id} bash -c "echo Success >| /var/www/test/index.html"' # Make sure virtualhost exists. - - 'docker exec --tty ${container_id} env TERM=xterm curl http://test.dev/ | grep "Success"' + - 'docker exec --tty ${container_id} env TERM=xterm curl http://localhost/ | grep "Success"' notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/tasks/setup-Archlinux.yml b/tasks/setup-Archlinux.yml index 2aa89ec..46e1f5b 100644 --- a/tasks/setup-Archlinux.yml +++ b/tasks/setup-Archlinux.yml @@ -2,4 +2,4 @@ - name: Ensure nginx is installed. pacman: name: "{{ nginx_package_name }}" - state: installed + state: present diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 2638ce0..554dc2e 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -6,5 +6,5 @@ - name: Ensure nginx is installed. apt: name: "{{ nginx_package_name }}" - state: installed + state: present default_release: "{{ nginx_default_release }}" diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index 21f3c73..cac0b4b 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -11,4 +11,4 @@ - name: Ensure nginx is installed. yum: name: "{{ nginx_package_name }}" - state: installed + state: present