Add fail2ban role and clean up yaml lint noise
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
---
|
||||
# tasks file for ensure_hostname
|
||||
- name: 'Set hostname if localhost'
|
||||
- name: Set hostname if localhost
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- ansible_facts["fqdn"] == 'localhost.localdomain'
|
||||
ansible.builtin.hostname:
|
||||
name: '{{ inventory_hostname }}'
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user