From d4423ac53df649b4ca9cf47b1e6cf1e6c7fe5ffb Mon Sep 17 00:00:00 2001 From: emo Date: Sat, 2 Mar 2024 01:58:34 +0100 Subject: [PATCH 1/2] Added task for formating the yaml code base --- Taskfile.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Taskfile.yml diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..a97c0ed --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,5 @@ +--- +version: '3' +tasks: + format-yml: + cmds: [yamlfix .] -- 2.39.5 From 752f34082e1d2c753467e0ea525bde376f1f2510 Mon Sep 17 00:00:00 2001 From: emo Date: Sat, 2 Mar 2024 02:05:15 +0100 Subject: [PATCH 2/2] Updated documentation --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d3339a..013b25b 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,8 @@ a container hypervisor. 4. Python 3 has been set up correctly on the machine. 5. [Pipenv](https://github.com/pypa/pipenv) has been installed on the machine. 6. [git](https://git-scm.com/) has been installed on the machine. +7. [Task](https://github.com/go-task/task) has been installed and has been +available in the `$PATH` environment variable for the current user. ### Initialize collection project locally @@ -188,7 +190,7 @@ cd test_linux_containers Format all YAML documents. ``` -yamlfix . +task format-yml ``` ## Execute Ansible Molecule scenarios -- 2.39.5