Use the uid and gid of the user.
Default email address for admin.
This commit is contained in:
parent
8a3adb0ce2
commit
8134080cf8
@ -9,7 +9,7 @@ plausible_smtp_password:
|
|||||||
|
|
||||||
# Plausible parameters
|
# Plausible parameters
|
||||||
plausible_port: 8000
|
plausible_port: 8000
|
||||||
plausible_admin_user_email: change-me
|
plausible_admin_user_email: changeme@example.com
|
||||||
plausible_admin_user_name: change-me
|
plausible_admin_user_name: change-me
|
||||||
plausible_admin_user_pwd: change-me
|
plausible_admin_user_pwd: change-me
|
||||||
plausible_base_url: change-me
|
plausible_base_url: change-me
|
||||||
|
@ -11,8 +11,9 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
state: directory
|
state: directory
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
owner: "{{ ansible_user_id }}"
|
owner: "{{ ansible_effective_user_id }}"
|
||||||
mode: 0750
|
group: "{{ ansible_effective_group_id }}"
|
||||||
|
mode: 0750
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ plausible_volume_config }}"
|
- "{{ plausible_volume_config }}"
|
||||||
- "{{ plausible_volume_events }}"
|
- "{{ plausible_volume_events }}"
|
||||||
@ -48,7 +49,7 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ plausible_volume_config }}/{{ item }}"
|
dest: "{{ plausible_volume_config }}/{{ item }}"
|
||||||
mode: '0640'
|
mode: '0644'
|
||||||
loop:
|
loop:
|
||||||
- "clickhouse-config.xml"
|
- "clickhouse-config.xml"
|
||||||
- "clickhouse-user-config.xml"
|
- "clickhouse-user-config.xml"
|
||||||
|
Loading…
Reference in New Issue
Block a user