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: 2 months ago
JSON representation
Ansible Role to determind and patch linux hosts
- Host: GitHub
- URL: https://github.com/it-pappa/ansible-role_linux_os_patch
- Owner: it-pappa
- Created: 2022-04-08T19:03:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T21:27:36.000Z (about 3 years ago)
- Last Synced: 2025-03-16T19:17:30.476Z (2 months ago)
- Topics: ansible, ansible-galaxy, ansible-linux, ansible-playbook, ansible-role, ansible-roles, linux, patch
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.5on 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 playbookExample playbook:
```
- hosts: ip-address
gather_facts: true
become: yesroles:
- 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.