From 828e0f2b2437baa9584e8b1764b3d86ad20e0372 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 16 Jan 2022 17:50:04 +0100 Subject: [PATCH 1/3] gitea v1.15.10 is available See https://github.com/go-gitea/gitea/releases/tag/v1.15.10 --- defaults/main.yml | 2 +- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 691bb38..4cfaea5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ --- # gitea version # Use 'latest' to auto-update; upgrading past role version may lead to errors. -gitea_version: '1.15.7' +gitea_version: '1.15.10' gitea_version_check: true gitea_gpg_key: '7C9E68152594688862D62AF62D9AE806EC1592E2' gitea_gpg_server: 'hkps://keys.openpgp.org' diff --git a/vars/main.yml b/vars/main.yml index 1df314a..0ffe031 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -56,5 +56,5 @@ transfer_custom_footer: - 'files/gitea_footer/extra_links_footer.tmpl' - 'files/extra_links_footer.tmpl' -playbook_version_number: 32 # should be int +playbook_version_number: 33 # should be int playbook_version_path: 'do1jlr.gitea.version' From 06eab17b716dfe27ddf84c81e76cf0d2d74cd617 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 16 Jan 2022 18:00:52 +0100 Subject: [PATCH 2/3] update linting rules --- .ansible-lint | 9 --------- tasks/customize_footer.yml | 1 + tasks/customize_logo.yml | 4 ++++ tasks/customize_public_files.yml | 1 + tasks/fail2ban.yml | 1 + 5 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 .ansible-lint diff --git a/.ansible-lint b/.ansible-lint deleted file mode 100644 index a48e52d..0000000 --- a/.ansible-lint +++ /dev/null @@ -1,9 +0,0 @@ -use_default_rules: true - -exclude_paths: - - venv/ - - molecule/default/ - - tests/ - -#skip_list: -# - '301' diff --git a/tasks/customize_footer.yml b/tasks/customize_footer.yml index 694b952..598542d 100644 --- a/tasks/customize_footer.yml +++ b/tasks/customize_footer.yml @@ -20,4 +20,5 @@ group: "{{ gitea_group }}" mode: '0644' ignore_errors: true + tags: skip_ansible_lint notify: "Restart gitea" diff --git a/tasks/customize_logo.yml b/tasks/customize_logo.yml index eb344a8..b36448b 100644 --- a/tasks/customize_logo.yml +++ b/tasks/customize_logo.yml @@ -19,6 +19,7 @@ owner: "{{ gitea_user }}" group: "{{ gitea_group }}" mode: '0644' + tags: skip_ansible_lint ignore_errors: true - name: transfer custom logo.png @@ -29,6 +30,7 @@ owner: "{{ gitea_user }}" group: "{{ gitea_group }}" mode: '0644' + tags: skip_ansible_lint ignore_errors: true - name: transfer custom favicon.png @@ -39,6 +41,7 @@ owner: "{{ gitea_user }}" group: "{{ gitea_group }}" mode: '0644' + tags: skip_ansible_lint ignore_errors: true - name: transfer custom apple-touch-icon.png @@ -49,4 +52,5 @@ owner: "{{ gitea_user }}" group: "{{ gitea_group }}" mode: '0644' + tags: skip_ansible_lint ignore_errors: true diff --git a/tasks/customize_public_files.yml b/tasks/customize_public_files.yml index 2ae41dd..dffda42 100644 --- a/tasks/customize_public_files.yml +++ b/tasks/customize_public_files.yml @@ -20,4 +20,5 @@ directory_mode: true mode: 'u=rwX,g=rX,o=' ignore_errors: true + tags: skip_ansible_lint notify: "Restart gitea" diff --git a/tasks/fail2ban.yml b/tasks/fail2ban.yml index 913127d..5322539 100644 --- a/tasks/fail2ban.yml +++ b/tasks/fail2ban.yml @@ -25,4 +25,5 @@ ansible.builtin.fail: msg: "the package fail2ban is not installed. no fail2ban filters deployed." when: "'fail2ban' not in ansible_facts.packages" + tags: skip_ansible_lint ignore_errors: true From 7c8e62fadb2926024a5d61ff8033d0a7f2cdfb33 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 16 Jan 2022 18:08:10 +0100 Subject: [PATCH 3/3] temporary fix action --- .github/workflows/ansible-linting-check.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index ab63487..bd3d85a 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -20,7 +20,5 @@ jobs: uses: ansible/ansible-lint-action@master with: targets: "." - # [required] - # Paths to ansible files (i.e., playbooks, tasks, handlers etc..) - args: "" - # [optional] + override-deps: | + rich>=9.5.1,<11.0.0