feat: improve ansible playbooks and config

This commit is contained in:
AJ Schroeder
2024-06-11 22:34:57 -05:00
parent f50e97c88f
commit b2dcc40838
6 changed files with 46 additions and 56 deletions

View File

@@ -1,17 +1,13 @@
---
- name: "Updating the guest operating system."
apt:
force_apt_get: true
name: "*"
state: latest # noqa package-latest
update_cache: "yes"
- block:
- name: "Updating the guest operating system."
ansible.builtin.apt:
force_apt_get: true
name: "*"
state: latest # noqa package-latest
update_cache: "yes"
- name: "Installing additional packages."
apt:
name:
- bash-completion
- curl
- wget
- unzip
- ca-certificates
state: latest # noqa package-latest
- name: "Installing additional packages."
ansible.builtin.apt:
name: "{{ additional_packages[ansible_os_family] }}"
state: latest # noqa package-latest