aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/tg/tasks/main.yaml
blob: 70ed3848267361dabb15e08e45f138fd1f3ae1cb (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
29
30
---
# file: roles/tg/tasks/main.yaml

- name: Conf - csit-initialize-docker-tg.sh
  copy:
    src: "files/csit-initialize-docker-tg.sh"
    dest: "/usr/local/bin/csit-initialize-docker-tg.sh"
    owner: "root"
    group: "root"
    mode: 0744
  when:
    - docker_tg is defined
  tags:
    - tg-conf-docker

- name: Conf - Start csit-initialize-docker-tg.service
  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"
  when:
    - docker_tg is defined
  tags:
    - tg-conf-docker

- meta: flush_handlers