Merge branch 'changes' into 'master'
Create folders for mailman3 See merge request csc/syscom-dev-environment!2
This commit is contained in:
commit
3b78f0faf8
|
@ -51,6 +51,8 @@ iface lxcbr0 inet dhcp
|
|||
Replace enp1s0 by the name of the default interface in the VM.
|
||||
Then, restart the VM.
|
||||
|
||||
If default interface is not `eth0` then update `roles/network_setup/templates/interfaces.j2` and `dns/templates/dnsmasq.conf.j2`
|
||||
|
||||
Once you have restarted the VM, take note of its IP address on lxcbr0,
|
||||
and write it to the variable `host_ipv4_addr` in the `hosts` file.
|
||||
|
||||
|
|
|
@ -44,6 +44,24 @@
|
|||
owner: list
|
||||
group: list
|
||||
mode: '2755'
|
||||
- name: create mailman3 run directory
|
||||
file:
|
||||
path: /run/mailman3
|
||||
state: directory
|
||||
owner: list
|
||||
group: list
|
||||
- name: create mailman3 log directory
|
||||
file:
|
||||
path: /var/log/mailman3
|
||||
state: directory
|
||||
owner: list
|
||||
group: list
|
||||
- name: create empty mailman3 log file
|
||||
file:
|
||||
path: /var/log/mailman3/mailman.log
|
||||
state: touch
|
||||
owner: list
|
||||
group: list
|
||||
- name: create mailman3-web directory
|
||||
file:
|
||||
path: /opt/mailman3/web
|
||||
|
@ -56,6 +74,18 @@
|
|||
state: directory
|
||||
owner: www-data
|
||||
group: www-data
|
||||
- name: create mailman3-web log directory
|
||||
file:
|
||||
path: /var/log/mailman3/web
|
||||
state: directory
|
||||
owner: www-data
|
||||
group: www-data
|
||||
- name: create empty mailman3-web log file
|
||||
file:
|
||||
path: /var/log/mailman3/web/mailman-web.log
|
||||
state: touch
|
||||
owner: www-data
|
||||
group: www-data
|
||||
- name: install pip packages
|
||||
become_user: list
|
||||
pip:
|
||||
|
|
Loading…
Reference in New Issue