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:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
owner: "{{ user_default }}"
|
||||||
- "{{ public }}"
|
group: "{{ user_default }}"
|
||||||
- "{{ private }}"
|
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
|
- name: lien symbolique pour le dossier publique
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
private_name: ""
|
private_name: ""
|
||||||
path: "{{ home_user_default }}/bubger"
|
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_public: "{{ path_site }}/archives"
|
||||||
path_site_private: "{{ path_site }}/{{ private_name }}"
|
path_site_private: "{{ path_site }}/{{ private_name }}"
|
||||||
public: "{{ path }}/archives"
|
public: "{{ path }}/archives"
|
||||||
|
|
Loading…
Reference in a new issue