https://github.com/mikepruett3/ansible-role-linux-updates
Ansible role to deploy system updates on Linux Servers.
https://github.com/mikepruett3/ansible-role-linux-updates
ansible ansible-role linux patches patching
Last synced: 3 months ago
JSON representation
Ansible role to deploy system updates on Linux Servers.
- Host: GitHub
- URL: https://github.com/mikepruett3/ansible-role-linux-updates
- Owner: mikepruett3
- License: mit
- Created: 2021-05-17T14:01:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T23:15:36.000Z (over 1 year ago)
- Last Synced: 2025-01-22T12:32:27.815Z (over 1 year ago)
- Topics: ansible, ansible-role, linux, patches, patching
- Language: Shell
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Linux Updates
=========
Ansible role to deploy system updates on Linux Servers.
Requirements
------------
The role does not require anything to run on Ubuntu, Debian or RHEL and its derivatives.
Role Variables
--------------
Available variables are listed below, along with default values (see ```defaults/main.yml```):
``` yaml
smtp_host: "smtp.example.org"
smtp_port: 25
sender: "myhost@example.org"
recipient: "it@example.org"
kernel_cleanup: true
```
```smtp_host``` **(Required)** The hostname of a local or remote SMTP server to use.
```smtp_port``` **(Required)** The port to use of the SMTP server (usually **25**)
```sender``` **(Required)** The email address to use for the sender (i.e. **FROM**).
```recipient``` **(Required)** The email address to send the report to (i.e. **TO**).
```kernel_cleanup``` **(Required)** Wether or not to remove old kernels.
Role variables can be stored with the ```hosts.yaml``` file, or in the main variables file.
Dependencies
------------
None.
Example Playbook
----------------
``` yaml
- hosts: servers
roles:
- role: mikepruett3.linux-updates
```
License
-------
MIT
Author Information
------------------
Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-linux-updates)