aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker_images/tasks/tg.yaml
blob: 0623616073ec09f173fa0411cd22a86804909c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# file: tasks/tg.yaml

- name: "Template Compose File"
  ansible.builtin.template:
    src: "{{ item }}.j2"
    dest: "/opt/csit-docker-images/{{ item }}"
    owner: "root"
    group: "root"
    mode: 0755
  with_items:
    - "docker-compose-tg.yaml"
  tags:
    - docker-tg

- name: "Start csit-initialize-docker-tg.service"
  ansible.builtin.copy:
    src: "files/csit-initialize-docker-tg.service"
    dest: "/etc/systemd/system/"
    owner: "root"
    group: "root"
    mode: 0644
  notify:
    - "Start csit-initialize-docker-tg.service"
  tags:
    - docker-tg

- meta: flush_handlers