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: vars:
rookeries_nginx_conf: rookeries-uwsgi_nginx.conf rookeries_nginx_conf: rookeries-uwsgi_nginx.conf
web_server_group: www-data web_server_group: www-data

View File

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

View File

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

View File

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

View File

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