mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2023-03-17 16:00
This commit is contained in:
13
roles/offen/tasks/conf.yml
Normal file
13
roles/offen/tasks/conf.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Deploy configuration
|
||||
template: src=offen.conf.j2 dest={{ offen_root_dir }}/etc/offen.conf group={{ offen_user }} mode=640
|
||||
notify:
|
||||
- restart offen
|
||||
tags: offen
|
||||
|
||||
- name: Init database
|
||||
command: |
|
||||
{{ offen_root_dir }}/bin/offen setup -email admin@{{ ansible_domain }} -password password -name admin -envfile {{ offen_root_dir }}/etc/offen.conf
|
||||
when: offen_install_mode == 'install'
|
||||
tags: offen
|
Reference in New Issue
Block a user