fix some bugs
This commit is contained in:
parent
09f7e02520
commit
b2495b3175
2 changed files with 11 additions and 4 deletions
|
@ -31,9 +31,16 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ public }}"
|
||||
- "{{ private }}"
|
||||
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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue