Fixed groups for code deploy

This commit is contained in:
2016-02-04 10:37:34 -05:00
parent cb017f9426
commit 7c6ad8f93b

View File

@@ -2,7 +2,7 @@
# This playbook deploys the whole application stack for wrestlingdev
#
- hosts: webservers
- hosts: web
remote_user: root
serial: 1
@@ -19,7 +19,7 @@
- name: Start docker container
command: docker run -h {{ansible_hostname}} -d --restart=always --env-file /root/prod.env -v /srv/docker/apache2/logs:/var/log/apache2 -v /etc/localtime:/etc/localtime -p 80:80 -p 443:443 wrestlingdev-web
- hosts: workers
- hosts: worker
remote_user: root
serial: 1