Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/it-pappa/ansible-role_linux_os_patch

Ansible Role to determind and patch linux hosts
https://github.com/it-pappa/ansible-role_linux_os_patch

ansible ansible-galaxy ansible-linux ansible-playbook ansible-role ansible-roles linux patch

Last synced: 3 days ago
JSON representation

Ansible Role to determind and patch linux hosts

Awesome Lists containing this project

README

        

#Patch linux VM's

This playbook/role will first determind the OS of the VM (Distro), before it will start patching it.

This playbook works on:
- [X] Debian
- [X] Centos
- [X] Ubuntu
- [X] RHEL8
- [X] Rocky Linux 8.5

on processor architecture:
- [X] x64
- [X] ARM

✅ Playbook requirements:
* Sudo access to the VM
* The target machine needs Internet access
* Ansible installed on the host running the playbook

Example playbook:
```
- hosts: ip-address
gather_facts: true
become: yes

roles:
- linux_os_patch
```

Example playbook run:
```
ansible-playbook setup.yml -i inventory --ask-become-pass
```
The playbook will then ask for the 'Sudo' password for the host target.