From 47cbd8adba802d8bfef01ec3d62ea1df7e829727 Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Wed, 8 Nov 2023 20:46:39 +0100 Subject: [PATCH] Galaxy NG updates --- .ansible-lint | 2 ++ .githooks/pre-commit | 2 +- readme.md => README.md | 2 +- meta/requirements.yml | 4 ++-- requirements.yml | 4 ++-- tasks/firewall.yml | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) rename readme.md => README.md (99%) diff --git a/.ansible-lint b/.ansible-lint index 3b20f24..43b6592 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -12,3 +12,5 @@ skip_list: - role-name - schema[meta] # TODO ansible-lint believes the official dependency syntax is wrong - meta-no-info # we leave platform empty + - var-naming[no-role-prefix] # warns even for include_role vars + - var-naming[no-reserved] # TODO diff --git a/.githooks/pre-commit b/.githooks/pre-commit index d43ad73..af9e9c9 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,4 +1,4 @@ #!/bin/bash yamllint --strict . -ansible-lint --strict +ansible-lint --strict --offline diff --git a/readme.md b/README.md similarity index 99% rename from readme.md rename to README.md index 216c486..879f6f7 100644 --- a/readme.md +++ b/README.md @@ -1,4 +1,4 @@ -# bviktor.wireguard +# noobient.wireguard ## Synopsys diff --git a/meta/requirements.yml b/meta/requirements.yml index cf961d3..93e3ce9 100644 --- a/meta/requirements.yml +++ b/meta/requirements.yml @@ -1,3 +1,3 @@ --- -- name: bviktor.firewalld -- name: bviktor.sysctl +- name: noobient.firewalld +- name: noobient.sysctl diff --git a/requirements.yml b/requirements.yml index 0f87402..2249b19 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,3 +1,3 @@ --- -- src: bviktor.firewalld -- src: bviktor.sysctl +- src: noobient.firewalld +- src: noobient.sysctl diff --git a/tasks/firewall.yml b/tasks/firewall.yml index 86f505c..9b904b8 100644 --- a/tasks/firewall.yml +++ b/tasks/firewall.yml @@ -10,7 +10,7 @@ state: absent register: wg_svc_delete -- name: Reload firewalld # noqa no-handler +- name: Reload firewalld # noqa no-handler no-changed-when command: cmd: firewall-cmd --reload when: wg_svc_delete.changed