Compare commits
3
Commits
v1.7.0
...
1d7be7f6dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d7be7f6dd | ||
|
|
6a29576036 | ||
|
|
e2d89b9617 |
No files matched your search
@@ -81,7 +81,7 @@ jobs:
|
|||||||
version: 0.1.7
|
version: 0.1.7
|
||||||
subpath: images/molecule-ubuntu2404
|
subpath: images/molecule-ubuntu2404
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
job_image: ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5
|
job_image: ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8
|
||||||
- name: molecule-ubuntu2604
|
- name: molecule-ubuntu2604
|
||||||
version: 0.1.4
|
version: 0.1.4
|
||||||
subpath: images/molecule-ubuntu2604
|
subpath: images/molecule-ubuntu2604
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
trivial:
|
||||||
|
- fail2ban - the README example play targets a generic group name.
|
||||||
|
- systemd_hardening - a task comment no longer names a consumer playbook.
|
||||||
@@ -44,7 +44,7 @@ Main entry point: `fail2ban` (everything), `fail2ban_install`, `fail2ban_validat
|
|||||||
## Example play
|
## Example play
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- hosts: pve_lxcs
|
- hosts: containers
|
||||||
roles:
|
roles:
|
||||||
- role: mortis.kamino.fail2ban
|
- role: mortis.kamino.fail2ban
|
||||||
vars:
|
vars:
|
||||||
|
|||||||
@@ -21,9 +21,9 @@
|
|||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
# Not service_facts: it returns a fact named `services`, which (with
|
# Not service_facts: it returns a fact named `services`, which (with
|
||||||
# inject_facts_as_vars) overrides the host_vars `services` list used by
|
# inject_facts_as_vars) overrides any inventory variable of that name, such as
|
||||||
# playbooks/install_services.yml. Only installed unit files are listed, so
|
# a list of services a playbook installs. Only installed unit files are listed,
|
||||||
# units that are merely referenced (LoadState not-found) are excluded.
|
# so units that are merely referenced (LoadState not-found) are excluded.
|
||||||
- name: List installed service unit files # noqa: command-instead-of-module
|
- name: List installed service unit files # noqa: command-instead-of-module
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.command: systemctl list-unit-files --type=service --no-legend --plain
|
ansible.builtin.command: systemctl list-unit-files --type=service --no-legend --plain
|
||||||
|
|||||||
Reference in new issue
Block a user