-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace service with systemd module Signed-off-by: Anže Luzar <[email protected]> * Use FQCNs in tasks/section_5/cis_5.5.x.yml Signed-off-by: Anže Luzar <[email protected]> * Use FQCN for user module Signed-off-by: Anže Luzar <[email protected]> * Use FQCN for debug module Signed-off-by: Anže Luzar <[email protected]> * Use name instead of list in package Signed-off-by: Anže Luzar <[email protected]> * Add that parameter and remove when for the assert module Signed-off-by: Anže Luzar <[email protected]> * updated discord link Signed-off-by: Mark Bolwell <[email protected]> * updated required pkgs Signed-off-by: Mark Bolwell <[email protected]> * updated lint files Signed-off-by: Mark Bolwell <[email protected]> * discord update Signed-off-by: Mark Bolwell <[email protected]> * lint updates Signed-off-by: Mark Bolwell <[email protected]> * Aligned and updated Signed-off-by: Mark Bolwell <[email protected]> * removed quality badge since galaxy-ng Signed-off-by: Mark Bolwell <[email protected]> * updated since galaxy changes Signed-off-by: Mark Bolwell <[email protected]> * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v3.2.0 → v4.5.0](pre-commit/pre-commit-hooks@v3.2.0...v4.5.0) - [github.com/gitleaks/gitleaks: v8.17.0 → v8.18.1](gitleaks/gitleaks@v8.17.0...v8.18.1) - [github.com/ansible-community/ansible-lint: v6.17.2 → v6.22.1](ansible/ansible-lint@v6.17.2...v6.22.1) - [github.com/adrienverge/yamllint.git: v1.32.0 → v1.33.0](https://github.com/adrienverge/yamllint.git/compare/v1.32.0...v1.33.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansible-community/ansible-lint: v6.22.1 → v6.22.2](ansible/ansible-lint@v6.22.1...v6.22.2) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/gitleaks/gitleaks: v8.18.1 → v8.18.2](gitleaks/gitleaks@v8.18.1...v8.18.2) - [github.com/ansible-community/ansible-lint: v6.22.2 → v24.2.0](ansible/ansible-lint@v6.22.2...v24.2.0) - [github.com/adrienverge/yamllint.git: v1.33.0 → v1.35.1](https://github.com/adrienverge/yamllint.git/compare/v1.33.0...v1.35.1) * updated for galaxy_ng Signed-off-by: Mark Bolwell <[email protected]> * Add audit_only and tidy up Signed-off-by: Mark Bolwell <[email protected]> * Lint updates Signed-off-by: Mark Bolwell <[email protected]> --------- Signed-off-by: Anže Luzar <[email protected]> Signed-off-by: Mark Bolwell <[email protected]> Co-authored-by: Anže Luzar <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ebcb285
commit 599b6a0
Showing
37 changed files
with
358 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ rules: | |
trailing-spaces: enable | ||
truthy: | ||
allowed-values: ['true', 'false'] | ||
check-keys: false | ||
check-keys: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ transfer_method=scp | |
|
||
[colors] | ||
|
||
[diff] | ||
[diff] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
--- | ||
|
||
- name: Download goss binary | ||
- name: Pre Audit Setup | Set audit package name | ||
block: | ||
- name: Pre Audit Setup | Set audit package name | 64bit | ||
ansible.builtin.set_fact: | ||
audit_pkg_arch_name: AMD64 | ||
when: ansible_facts.machine == "x86_64" | ||
|
||
- name: Pre Audit Setup | Set audit package name | ARM64 | ||
ansible.builtin.set_fact: | ||
audit_pkg_arch_name: ARM64 | ||
when: ansible_facts.machine == "arm64" | ||
|
||
- name: Pre Audit Setup | Download audit binary | ||
ansible.builtin.get_url: | ||
url: "{{ goss_url }}" | ||
url: "{{ audit_bin_url }}{{ audit_pkg_arch_name }}" | ||
dest: "{{ audit_bin }}" | ||
owner: root | ||
group: root | ||
checksum: "{{ goss_version.checksum }}" | ||
mode: 0555 | ||
checksum: "{{ audit_bin_version[audit_pkg_arch_name + '_checksum'] }}" | ||
mode: '0555' | ||
when: | ||
- get_goss_file == 'download' | ||
- get_audit_binary_method == 'download' | ||
|
||
- name: Copy goss binary | ||
- name: Pre Audit Setup | Copy audit binary | ||
ansible.builtin.copy: | ||
src: "{{ copy_goss_from_path }}" | ||
src: "{{ audit_bin_copy_location }}" | ||
dest: "{{ audit_bin }}" | ||
mode: 0555 | ||
mode: '0555' | ||
owner: root | ||
group: root | ||
when: | ||
- get_goss_file == 'copy' | ||
- get_audit_binary_method == 'copy' |
Oops, something went wrong.