diff options
author | pmikus <pmikus@cisco.com> | 2021-02-15 16:16:31 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-02-19 11:57:30 +0000 |
commit | 7b93e96740997dab4383140a639b055e074f63c1 (patch) | |
tree | 8d54d10e65af9a6c58546fd3b36aed9cb8d174af /resources/tools/testbed-setup/ansible/roles/tg/tasks | |
parent | ecfe59f83a49e0dda9cead06b81339e4ea545053 (diff) |
Infra: Ansible Ubuntu Focal
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I6558938fe4bbdfb5add7a361adb4a12da6b0a6dc
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/tg/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml index d7a9ed882d..4e79dabfab 100644 --- a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml @@ -1,28 +1,30 @@ --- # file: roles/tg/tasks/main.yaml -- name: TG - Copy csit-initialize-docker-tg.sh +- 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: "744" - when: docker_tg is defined + mode: 0744 + when: + - docker_tg is defined tags: - - docker-tg + - tg-conf-docker -- name: TG - Start csit-initialize-docker-tg.service +- 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: "644" + mode: 0644 notify: - "Start csit-initialize-docker-tg.service" - when: docker_tg is defined + when: + - docker_tg is defined tags: - - docker-tg + - tg-conf-docker - meta: flush_handlers |