REFACTOR: maintain playbook works

This commit is contained in:
2026-08-11 13:11:55 +04:00
parent afca9912cf
commit 092b456b67
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
--- ---
physical: physical:
hosts: hosts:
192.168.0.45: localhost:
ansible_become_password: "{{ ansible_become_passwd }}"
ansible_connection: local
ansible_python_interpreter: "{{ ansible_playbook_python }}"
192.168.0.98:
ansible_become_password: "{{ ansible_become_passwd }}" ansible_become_password: "{{ ansible_become_passwd }}"
+3 -3
View File
@@ -12,9 +12,9 @@
roles: roles:
# Check the Internet connection # Check the Internet connection
# Check free disk space # Check free disk space
../roles/common_healthcheck - ../roles/common_healthcheck
# Update the system # Update the system
../roles/update_system - ../roles/update_system
# Harden SSH - we must be sure that the last version of ssh configs are distributed # Harden SSH - we must be sure that the last version of ssh configs are distributed
../roles/harden_ssh - ../roles/harden_ssh
# Update configs - omz, nvim, ranger and so on. Distribute the last version of those configs # Update configs - omz, nvim, ranger and so on. Distribute the last version of those configs