aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/csit_sut_image
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-08-17 13:57:23 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-08-19 05:01:23 +0000
commit0b947247146f27936e986c262fc9f1d641b5ac4f (patch)
tree141ee3f1a57b4c7287c0409b876d3fb96769c9cb /fdio.infra.ansible/roles/csit_sut_image
parentd92086e8ee964d2d5700046ef85c6b681844288a (diff)
feat(ansible): Ubuntu Jammy VI.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I7dda690f2dc2e42bf6c67d3faa3327a03de3a9fa
Diffstat (limited to 'fdio.infra.ansible/roles/csit_sut_image')
-rw-r--r--fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
index 9dddbe435b..ea69c64b3b 100644
--- a/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/csit_sut_image/tasks/main.yaml
@@ -2,7 +2,7 @@
# file: roles/csit_sut_image/tasks/main.yaml
- name: Create a directory if it does not exist
- file:
+ ansible.builtin.file:
path: "/opt/csit-sut/"
state: "directory"
mode: 0755
@@ -10,7 +10,7 @@
- csit-sut-image
- name: Copy Build Items
- copy:
+ ansible.builtin.copy:
src: "{{ item }}"
dest: "/opt/csit-sut/"
owner: "root"
@@ -23,7 +23,7 @@
- csit-sut-image
- name: Build CSIT SUT Docker Image
- shell: "docker build -t csit_sut-ubuntu2004:local ."
+ ansible.builtin.shell: "docker build -t csit_sut-ubuntu2004:local ."
args:
chdir: "/opt/csit-sut"
tags: