syntax, syntax

This commit is contained in:
Jeff Oakes 2024-03-20 16:57:08 -07:00
commit 77dfd76ce2

View file

@ -1,9 +1,10 @@
---
- name: Setup fail2ban
hosts: 127.0.0.1
- hosts: 127.0.0.1
connection: local
tasks:
- name: This command will echo text to a file as a test
ansible.builtin.shell:
cmd: echo 'hello' > /tmp/hello.txt
@ -12,6 +13,7 @@
ansible.builtin.dnf:
name: fail2ban
state: present
- name: start fail2ban
ansible.builtin.systemd_service:
state: started