Skip to content

Commit

Permalink
Galaxy NG updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 8, 2023
1 parent cae47ec commit a98e17f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ 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
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

yamllint --strict .
ansible-lint --strict
ansible-lint --strict --offline
2 changes: 1 addition & 1 deletion readme.md → README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bviktor.setfacl
# noobient.setfacl

## Synopsys

Expand Down
2 changes: 1 addition & 1 deletion tasks/acl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
changed_when: false
register: item_acl

- name: "Set {{ path }} ACL"
- name: "Set {{ path }} ACL" # noqa no-changed-when
command:
cmd: setfacl -R --set="{{ acl }}" "{{ path }}"
when: item_acl.stdout != '0'
2 changes: 1 addition & 1 deletion tests/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: 127.0.0.1
tasks:
- name: Create /var/www/htdocs
- name: Create /var/www/htdocs # noqa risky-file-permissions
file:
path: /var/www/htdocs
state: directory
Expand Down

0 comments on commit a98e17f

Please sign in to comment.