mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored folder structure
This commit is contained in:
@@ -7,23 +7,22 @@
|
||||
notify: restart nginx
|
||||
|
||||
# @todo rename
|
||||
- name: "create /usr/local/bin/docker-nextcloud/"
|
||||
- name: "create /home/administrator/volumes/docker/nextcloud/"
|
||||
file:
|
||||
path: "/usr/local/bin/docker-nextcloud"
|
||||
path: "/home/administrator/volumes/docker/nextcloud"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: configure nginx.conf
|
||||
template: src=templates/nginx.conf.j2 dest=/usr/local/bin/docker-nextcloud/nginx.conf
|
||||
template: src=templates/nginx.conf.j2 dest=/home/administrator/volumes/docker/nextcloud/nginx.conf
|
||||
notify: restart nginx
|
||||
|
||||
# @todo rename
|
||||
- name: "create /usr/local/bin/nextcloud/"
|
||||
- name: "create /home/administrator/docker-compose/nextcloud/"
|
||||
file:
|
||||
path: "/usr/local/bin/nextcloud"
|
||||
path: "/home/administrator/docker-compose/nextcloud/"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: add docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest=/usr/local/bin/nextcloud/docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/nextcloud/docker-compose.yml
|
||||
notify: recreate nextcloud
|
||||
|
Reference in New Issue
Block a user