Commit 96c78515 authored by nanahira's avatar nanahira

new

parent 87d1b2eb
---
- hosts: gocq
remote_user: root
tasks:
- name: restart
docker_compose:
project_src: '{{ ansible_user_dir }}/{{ service_path }}'
restarted: true
- name: fetch-qr
include_tasks: ./tasks/gocq-fetch-qr.yml
---
- hosts: mys
tasks:
- name: mys
synchronize:
src: ~/test/mys/workspace/
dest: ~/mys-workspace
#delete: true
- name: fetch-qr
fetch:
src: '{{ ansible_user_dir }}/{{ service_path }}/templates/qrcode.png'
dest: '../collector/gocq-qr/qrcode-{{inventory_hostname_short}}.png'
flat: true
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