Fixed groups for code deploy
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user