From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/cgit/defaults/main.yml | 2 ++ roles/cgit/meta/main.yml | 2 ++ roles/cgit/tasks/dependencies.yml | 2 ++ roles/cgit/tasks/main.yml | 2 ++ 4 files changed, 8 insertions(+) (limited to 'roles/cgit') diff --git a/roles/cgit/defaults/main.yml b/roles/cgit/defaults/main.yml index 47d312a..cf70c5b 100644 --- a/roles/cgit/defaults/main.yml +++ b/roles/cgit/defaults/main.yml @@ -1,3 +1,5 @@ +--- + cgit_instance: cgit cgit_git_dir: /data/git cgit_chroot_dir: /var/www diff --git a/roles/cgit/meta/main.yml b/roles/cgit/meta/main.yml index a25f289..bd45503 100644 --- a/roles/cgit/meta/main.yml +++ b/roles/cgit/meta/main.yml @@ -1,3 +1,5 @@ +--- + dependencies: - role: git tags: dependency diff --git a/roles/cgit/tasks/dependencies.yml b/roles/cgit/tasks/dependencies.yml index 9c3623a..5a74d45 100644 --- a/roles/cgit/tasks/dependencies.yml +++ b/roles/cgit/tasks/dependencies.yml @@ -1,3 +1,5 @@ +--- + - name: retrieve dependencies for lowdown # noqa: no-changed-when ansible.builtin.shell: | set -o pipefail diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index 245b34f..34e394c 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: install cgit packages ansible.builtin.package: name: -- cgit v1.2.3