29 lines
876 B
YAML
29 lines
876 B
YAML
---
|
||
# The home-server project produces a multi-purpose setup using Ansible.
|
||
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||
|
||
- name: PostgreSQL user for dotClear
|
||
postgresql_user:
|
||
login_unix_socket: /run/shared_sockets
|
||
name: "{{dotclear_db_user}}"
|
||
password: "{{dotclear_db_password}}"
|
||
encrypted: true
|
||
become: true
|
||
become_user: postgres
|
||
|
||
- name: PostgreSQL database for dotClear
|
||
postgresql_db:
|
||
login_unix_socket: /run/shared_sockets
|
||
name: "{{dotclear_db}}"
|
||
owner: "{{dotclear_db_user}}"
|
||
become: true
|
||
become_user: postgres
|
||
|
||
### LOCAL COMMIT ⇒ ###
|
||
- name: commit local changes
|
||
include_role: name=etckeeper.inc allow_duplicates=true tasks_from=local.yml
|
||
vars:
|
||
msg: dotClear
|
||
### ⇐ LOCAL COMMIT ###
|