diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
commit | db698b595e7ff088c96d00ef5285a0d634aff1be (patch) | |
tree | 4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/cgit | |
parent | ee3e324680a15d59429b1a2a0615fe787d169068 (diff) | |
download | rules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz |
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/cgit')
-rw-r--r-- | roles/cgit/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/cgit/meta/main.yml | 2 | ||||
-rw-r--r-- | roles/cgit/tasks/dependencies.yml | 2 | ||||
-rw-r--r-- | roles/cgit/tasks/main.yml | 2 |
4 files changed, 8 insertions, 0 deletions
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: |