clean up docker host stuff
This commit is contained in:
parent
1d3f4110f4
commit
b31a6ab73e
16 changed files with 3 additions and 63 deletions
|
@ -1,23 +1,17 @@
|
|||
- name: Create radicale config
|
||||
docker_config:
|
||||
name: radicale_config
|
||||
data_src: "{{ role_path }}/radicale.conf"
|
||||
data: "{{ lookup('file', '{{ role_path }}/radicale.conf') }}"
|
||||
use_ssh_client: true
|
||||
rolling_versions: true
|
||||
environment:
|
||||
DOCKER_HOST: ssh://root@maestro.dmz
|
||||
delegate_to: localhost
|
||||
register: config
|
||||
|
||||
- name: Create radicale users
|
||||
docker_config:
|
||||
name: radicale_users
|
||||
data_src: "{{ role_path }}/users"
|
||||
data: "{{ lookup('file', '{{ role_path }}/users') }}"
|
||||
use_ssh_client: true
|
||||
rolling_versions: true
|
||||
environment:
|
||||
DOCKER_HOST: ssh://root@maestro.dmz
|
||||
delegate_to: localhost
|
||||
register: users
|
||||
|
||||
- name: Deploy Docker stack
|
||||
|
@ -25,6 +19,3 @@
|
|||
name: radicale
|
||||
compose:
|
||||
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
|
||||
environment:
|
||||
DOCKER_HOST: ssh://root@maestro.dmz
|
||||
delegate_to: localhost
|
||||
|
|
Reference in a new issue