Renamed server roles

This commit is contained in:
2023-04-18 15:41:14 +02:00
parent 9b065dfc5d
commit cd9eca8ee3
136 changed files with 348 additions and 348 deletions

View File

@@ -7,16 +7,16 @@
vars:
client_max_body_size: "2M"
domain: "{{item}}"
template: src=roles/native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{ item }}.conf
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{ item }}.conf
loop: "{{domains}}"
notify: restart nginx
- name: "create /home/administrator/docker-compose/wordpress/"
- name: "create /home/administrator/server_docker-compose/wordpress/"
file:
path: "/home/administrator/docker-compose/wordpress/"
path: "/home/administrator/server_docker-compose/wordpress/"
state: directory
mode: 0755
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest=/home/administrator/docker-compose/wordpress/docker-compose.yml
- name: add server_docker-compose.yml
template: src=server_docker-compose.yml.j2 dest=/home/administrator/server_docker-compose/wordpress/server_docker-compose.yml
notify: recreate wordpress