Skip to content

Commit

Permalink
Update inventory and playbook to target all hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
leonmelein committed Dec 26, 2024
1 parent 29e8ea5 commit 65dd9d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .playbook/inventory
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[staging]
beta.thesociallions.nl

[production]
thesociallions.nl
4 changes: 2 additions & 2 deletions .playbook/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Copy file to target servers
hosts: beta
hosts: all
tasks:
# Ensure website folder exists
- name: Ensure subfolder exists
Expand All @@ -18,7 +18,7 @@
mode: '0644'

- name: Restart nginx
hosts: beta
hosts: all
become: true
tasks:
- name: Restart nginx service
Expand Down

0 comments on commit 65dd9d5

Please sign in to comment.