docs: drop environment names left in fail2ban and systemd_hardening #233
No files matched your search
@@ -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
|
||||
|
||||
```yaml
|
||||
- hosts: pve_lxcs
|
||||
- hosts: containers
|
||||
roles:
|
||||
- role: mortis.kamino.fail2ban
|
||||
vars:
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
tags: always
|
||||
|
||||
# Not service_facts: it returns a fact named `services`, which (with
|
||||
# inject_facts_as_vars) overrides the host_vars `services` list used by
|
||||
# playbooks/install_services.yml. Only installed unit files are listed, so
|
||||
# units that are merely referenced (LoadState not-found) are excluded.
|
||||
# inject_facts_as_vars) overrides any inventory variable of that name, such as
|
||||
# a list of services a playbook installs. Only installed unit files are listed,
|
||||
# so units that are merely referenced (LoadState not-found) are excluded.
|
||||
- name: List installed service unit files # noqa: command-instead-of-module
|
||||
become: true
|
||||
ansible.builtin.command: systemctl list-unit-files --type=service --no-legend --plain
|
||||
|
||||
Reference in new issue
Block a user