aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker_images/tasks/sut.yaml
blob: 8ac179573d8c7d954db9ca246d0954ae58d13b34 (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/sut.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-sut.yaml"
  tags:
    - docker-sut

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

- meta: flush_handlers