mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
In between commit LDAP integration
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
---
|
||||
- name: "pull homepage from {{nginx_homepage_repository_address}}"
|
||||
- name: "pull homepage from {{nginx_static_repository_address}}"
|
||||
git:
|
||||
repo: "{{nginx_homepage_repository_address}}"
|
||||
repo: "{{nginx_static_repository_address}}"
|
||||
dest: "{{nginx_homepage_root}}"
|
||||
update: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: configure {{top_domain}}.conf
|
||||
- name: configure {{primary_domain}}.conf
|
||||
template:
|
||||
src: "static.nginx.conf.j2"
|
||||
dest: "{{nginx_servers_directory}}{{top_domain}}.conf"
|
||||
dest: "{{nginx_servers_directory}}{{primary_domain}}.conf"
|
||||
vars:
|
||||
domain: "{{top_domain}}"
|
||||
domain: "{{primary_domain}}"
|
||||
notify: restart nginx
|
||||
when: run_once_nginx is not defined
|
Reference in New Issue
Block a user