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 - name: install Python setuptools dependencies
sudo: yes sudo: yes
tasks: apt: pkg={{ item }} state=present
with_items:
- python-dev
- python-setuptools
- name: install Python setuptools dependencies - name: bootstrap PIP using setuptools
apt: pkg={{ item }} state=present sudo: yes
with_items: easy_install: name=pip
- python-dev
- python-setuptools
- name: bootstrap PIP using setuptools - name: install Python virtualenv
easy_install: name=pip sudo: yes
pip: name=virtualenv
- name: install Python 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