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 31a9724 commit 3967248
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 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.rpm_policy
# noobient.rpm_policy

## Synopsys

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

- name: "Set RPM crypto policy to {{ policy }}"
- name: "Set RPM crypto policy to {{ policy }}" # noqa no-changed-when
command:
cmd: "update-crypto-policies --set {{ policy | upper }}"
when: current_rpm_policy.stdout != policy | upper

0 comments on commit 3967248

Please sign in to comment.