mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Convert the permissions to strings to avoid octal interpretation. Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
25 lines
457 B
YAML
25 lines
457 B
YAML
- name: Create ssl cert
|
|
include_role:
|
|
name: certificate
|
|
vars:
|
|
domains: ["{{ archive_domain }}"]
|
|
|
|
- name: Set up nginx
|
|
template:
|
|
src: nginx.d.conf.j2
|
|
dest: /etc/nginx/nginx.d/archive.conf
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify:
|
|
- Reload nginx
|
|
tags: ['nginx']
|
|
|
|
- name: Make nginx log dir
|
|
file:
|
|
path: /var/log/nginx/{{ archive_domain }}
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|