initial commit
This commit is contained in:
15
inventory.ini
Normal file
15
inventory.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
# --------------------------------------------------------------
|
||||
# Ansible inventory - servers to harden
|
||||
# Usage: ansible-playbook -i inventory.ini harden_fedora44.yml
|
||||
# --------------------------------------------------------------
|
||||
|
||||
[servers]
|
||||
stoat-demo ansible_host=stoat-demo ansible_user=YOUR_SSH_USER
|
||||
|
||||
[servers:vars]
|
||||
# Elevate privileges (the playbook already sets become: true,
|
||||
# but this allows per-group override if needed)
|
||||
ansible_become=yes
|
||||
ansible_become_method=sudo
|
||||
# Optional: path to your SSH private key
|
||||
# ansible_ssh_private_key_file=/home/you/.ssh/id_ed25519
|
||||
Reference in New Issue
Block a user