fix some bugs

This commit is contained in:
rick 2022-06-26 13:26:59 +02:00
parent 09f7e02520
commit b2495b3175
Signed by: Rick
GPG key ID: 4A6223D66294EB20
2 changed files with 11 additions and 4 deletions

View file

@ -31,10 +31,17 @@
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: "{{ user_default }}"
group: "{{ user_default }}"
with_items:
- "{{ public }}"
- "{{ private }}"
- name: création du dossier du site
ansible.builtin.file:
path: "{{ path_site }}"
state: directory
- name: lien symbolique pour le dossier publique
ansible.builtin.file:
src: "{{ public }}"

View file

@ -1,7 +1,7 @@
---
private_name: ""
path: "{{ home_user_default }}/bubger"
path_site: "/var/www/mailings_list"
path_site: "/var/www/mailing_list"
path_site_public: "{{ path_site }}/archives"
path_site_private: "{{ path_site }}/{{ private_name }}"
public: "{{ path }}/archives"