manage lewis with nix
move docker swarm ansible to this repo move thecloud ansible to this repo support data disks in terraform
This commit is contained in:
parent
d7ef46b642
commit
111bf68a0a
92 changed files with 2730 additions and 26 deletions
|
@ -0,0 +1,21 @@
|
|||
- name: Create radicale config
|
||||
docker_config:
|
||||
name: radicale_config
|
||||
data: "{{ lookup('file', '{{ role_path }}/radicale.conf') }}"
|
||||
use_ssh_client: true
|
||||
rolling_versions: true
|
||||
register: config
|
||||
|
||||
- name: Create radicale users
|
||||
docker_config:
|
||||
name: radicale_users
|
||||
data: "{{ lookup('file', '{{ role_path }}/users') }}"
|
||||
use_ssh_client: true
|
||||
rolling_versions: true
|
||||
register: users
|
||||
|
||||
- name: Deploy Docker stack
|
||||
docker_stack:
|
||||
name: radicale
|
||||
compose:
|
||||
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
|
Reference in a new issue