Skip to content

Commit

Permalink
website: add task for webroot
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Jul 16, 2024
1 parent 5516ade commit 31f6fe7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions play.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@
become: true
roles:
- caddy
- ff_website
12 changes: 12 additions & 0 deletions roles/ff_website/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---

- name: Create directories
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: www-data
group: www-data
mode: "0770"
with_items:
- /srv/www/berlin.freifunk.net
- /srv/www/dev.berlin.freifunk.net

0 comments on commit 31f6fe7

Please sign in to comment.