aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/tg/tasks/main.yaml
blob: 4e79dabfabd54c8813f7e9a31fd9f16278355f10 (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