Changeset - b895c3ee7dfa
[Not reviewed]
0 1 0
x - 17 months ago 2023-12-14 21:05:43
xbr@c3l.lu
fix: freifunk.lu makes use of default_server
1 file changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
web/install_website.yml
Show inline comments
 
@@ -12,12 +12,20 @@
 
    - name: Setup TLS and nginx for site
 
      ansible.builtin.include_tasks:
 
        file: "{{ ansible_repo_dir }}/web/tasks/base_website_setup.yml"
 

	
 
    - name: Disable default nginx site (this config makes use of default_server)
 
      ansible.builtin.file:
 
        path: /etc/nginx/sites-enabled/default
 
        state: absent
 
      become: true
 

	
 
    - name: Setup the Hugo main website
 
      ansible.builtin.include_tasks:
 
        file: "{{ ansible_repo_dir }}/web/tasks/hugo.yml"
 
    - name: Setup api.freifunk.lu
 
      ansible.builtin.include_tasks:
 
        file: "{{ ansible_repo_dir }}/web/tasks/api.yml"
 

	
 
    - name: Reload nginx
 
      ansible.builtin.service:
 
        name: nginx
0 comments (0 inline, 0 general)