diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-01 18:04:54 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-01 18:05:02 +0200 |
commit | bc72ead7c4be719a3cf24b4f063f2156d85126e7 (patch) | |
tree | bf48540656454ddf8846c1ceefc76099ced46ae0 /tasks | |
parent | 20708ade1f56a1ef84b22ecdca42af9f9bd45c69 (diff) |
tasks/httpd.yml: Create /etc/nginx/sites-enabled/webmap as a symlink.
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/httpd.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tasks/httpd.yml b/tasks/httpd.yml index 2138d35..22757d5 100644 --- a/tasks/httpd.yml +++ b/tasks/httpd.yml @@ -29,13 +29,20 @@ mode=0644 notify: Reload nginx -- name: Copy /etc/nginx/sites-enabled/webmap - copy: src=etc/nginx/sites-enabled/webmap - dest=/etc/nginx/sites-enabled/webmap +- name: Copy /etc/nginx/sites-available/webmap + copy: src=etc/nginx/sites-available/webmap + dest=/etc/nginx/sites-available/webmap owner=root group=root mode=0644 notify: Reload nginx +- name: Create /etc/nginx/sites-enabled/webmap + file: src=../sites-available/webmap + dest=/etc/nginx/sites-enabled/webmap + owner=root group=root + state=link force=yes + notify: Reload nginx + - name: Create directory /var/www/webmap file: path=/var/www/webmap state=directory |