1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

update linting rules

This commit is contained in:
L3D 2022-01-16 18:00:52 +01:00
parent 828e0f2b24
commit 06eab17b71
Signed by: l3d
GPG key ID: CD08445BFF4313D1
5 changed files with 7 additions and 9 deletions

View file

@ -1,9 +0,0 @@
use_default_rules: true
exclude_paths:
- venv/
- molecule/default/
- tests/
#skip_list:
# - '301'

View file

@ -20,4 +20,5 @@
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: '0644' mode: '0644'
ignore_errors: true ignore_errors: true
tags: skip_ansible_lint
notify: "Restart gitea" notify: "Restart gitea"

View file

@ -19,6 +19,7 @@
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: '0644' mode: '0644'
tags: skip_ansible_lint
ignore_errors: true ignore_errors: true
- name: transfer custom logo.png - name: transfer custom logo.png
@ -29,6 +30,7 @@
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: '0644' mode: '0644'
tags: skip_ansible_lint
ignore_errors: true ignore_errors: true
- name: transfer custom favicon.png - name: transfer custom favicon.png
@ -39,6 +41,7 @@
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: '0644' mode: '0644'
tags: skip_ansible_lint
ignore_errors: true ignore_errors: true
- name: transfer custom apple-touch-icon.png - name: transfer custom apple-touch-icon.png
@ -49,4 +52,5 @@
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: '0644' mode: '0644'
tags: skip_ansible_lint
ignore_errors: true ignore_errors: true

View file

@ -20,4 +20,5 @@
directory_mode: true directory_mode: true
mode: 'u=rwX,g=rX,o=' mode: 'u=rwX,g=rX,o='
ignore_errors: true ignore_errors: true
tags: skip_ansible_lint
notify: "Restart gitea" notify: "Restart gitea"

View file

@ -25,4 +25,5 @@
ansible.builtin.fail: ansible.builtin.fail:
msg: "the package fail2ban is not installed. no fail2ban filters deployed." msg: "the package fail2ban is not installed. no fail2ban filters deployed."
when: "'fail2ban' not in ansible_facts.packages" when: "'fail2ban' not in ansible_facts.packages"
tags: skip_ansible_lint
ignore_errors: true ignore_errors: true