Remove private key file reference from ansible.cfg; update hosts file with absolute path for private key; add playbooks for installing tools and updating OS

This commit is contained in:
martin.cholewa
2025-07-08 18:29:11 +02:00
parent 43827881fb
commit 1858e2c36f
4 changed files with 41 additions and 2 deletions

18
ansible/install_tools.yml Normal file
View File

@@ -0,0 +1,18 @@
---
- name: Install favorite tools (vim, telnet, curl)
hosts: all
become: yes
tasks:
- name: Ensure vim, telnet, and curl are installed
ansible.builtin.apt:
name:
- vim
- telnet
- curl
state: present
update_cache: yes
register: install_tools_result
- name: Show install result (full)
ansible.builtin.debug:
var: install_tools_result