Remove hosts from tasks, in an attempt to fix issues encountered in the Rookeries project.

This commit is contained in:
Dorian 2015-01-07 08:07:30 -05:00
parent 4f09337796
commit dcabd1a549
5 changed files with 15 additions and 20 deletions

View File

@ -1,6 +1,5 @@
---
- hosts: all
sudo: yes
- sudo: yes
vars:
rookeries_nginx_conf: rookeries-uwsgi_nginx.conf
web_server_group: www-data

View File

@ -1,16 +1,15 @@
---
- hosts: all
- name: install Python setuptools dependencies
sudo: yes
tasks:
- name: install Python setuptools dependencies
apt: pkg={{ item }} state=present
with_items:
- python-dev
- python-setuptools
- name: bootstrap PIP using setuptools
- name: bootstrap PIP using setuptools
sudo: yes
easy_install: name=pip
- name: install Python virtualenv
- name: install Python virtualenv
sudo: yes
pip: name=virtualenv

View File

@ -1,6 +1,5 @@
---
- hosts: all
sudo: yes
- sudo: yes
vars:
web_server_group: www-data
supervisor_configs:

View File

@ -1,6 +1,5 @@
---
- hosts: all
vars:
- vars:
web_server_home: /srv/www
web_server_group: www-data
uwsgi_venv: "{{ web_server_home }}/virtualenvs/uwsgi"

View File

@ -1,6 +1,5 @@
---
- hosts: all
sudo: yes
- sudo: yes
vars:
user: "{{ ansible_env.SUDO_USER }}"
web_app_home: /srv/www