aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml
blob: d7a9ed882d41e54f6d2b95b87150acf1b05d826c (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: roles/tg/tasks/main.yaml

- name: TG - Copy 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: "744"
  when: docker_tg is defined
  tags:
    - docker-tg

- name: TG - Start csit-initialize-docker-tg.service
  copy:
   src: "files/csit-initialize-docker-tg.service"
   dest: "/etc/systemd/system/"
   owner: "root"
   group: "root"
   mode: "644"
  notify:
    - "Start csit-initialize-docker-tg.service"
  when: docker_tg is defined
  tags:
    - docker-tg

- meta: flush_handlers