Skip to content

Commit

Permalink
Update ansible hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
DMarby committed Apr 3, 2015
1 parent 5ebbb77 commit 306cdba
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ansible/build-cache.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Stop unsplash-it
service: name=unsplash-it state=stopped
Expand Down
2 changes: 1 addition & 1 deletion ansible/copy.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Stop vnstat
service: name=vnstat state=stopped
Expand Down
2 changes: 1 addition & 1 deletion ansible/restore.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Stop vnstat
service: name=vnstat state=stopped
Expand Down
6 changes: 0 additions & 6 deletions ansible/unsplash-it

This file was deleted.

2 changes: 1 addition & 1 deletion ansible/unsplash-it.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
vars:
dhparam: true
tasks:
Expand Down
2 changes: 1 addition & 1 deletion ansible/upgrade-nginx-config.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Update nginx config
copy: src=files/nginx.conf dest=/etc/nginx/conf.d/unsplash.conf
Expand Down
2 changes: 1 addition & 1 deletion ansible/upgrade-unsplash-downloader.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Update repo
shell: "cd /opt/unsplash-downloader && su unsplash -c 'cd /opt/unsplash-downloader && git pull && npm install'"
Expand Down
2 changes: 1 addition & 1 deletion ansible/upgrade-unsplash-it.yml
@@ -1,5 +1,5 @@
---
- hosts: unsplash-it
- hosts: all
tasks:
- name: Update repo
shell: "cd /opt/unsplash-it && su unsplash -c 'cd /opt/unsplash-it && git pull && npm install'"
Expand Down

0 comments on commit 306cdba

Please sign in to comment.