fix some bugs
This commit is contained in:
parent
09f7e02520
commit
b2495b3175
2 changed files with 11 additions and 4 deletions
|
@ -31,10 +31,17 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: "{{ user_default }}"
|
||||||
|
group: "{{ user_default }}"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ public }}"
|
- "{{ public }}"
|
||||||
- "{{ private }}"
|
- "{{ 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:
|
||||||
src: "{{ public }}"
|
src: "{{ public }}"
|
||||||
|
|
|
@ -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