Commit e58fe501 authored by Jean-Marc Le Roux's avatar Jean-Marc Le Roux

Add the `config` Ansible role.

parent e1c29a27
---
- name: Create /etc/amenda
file:
path: /etc/amenda
state: directory
- name: Install /etc/amenda/amenda.json
template:
src: amenda.json.j2
dest: /etc/amenda/amenda.json
{
"gitlab": {
"url": "http://127.0.0.1:8000/admin",
"adminEmail": "{{ gitlab_admin_email }}",
"adminPassword": "{{ gitlab_admin_password }}"
},
"webhook": {
"url": "http://172.17.0.1:3002",
"token": "{{ gitlab_bot_webhook_token }}"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment