Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T19:37:28.000Z (about 2 months ago)
- Last Synced: 2024-10-28T19:42:48.388Z (about 2 months ago)
- Topics: ansible, ansible-role, linux, patches, patching
- Language: Shell
- Homepage:
- Size: 71.3 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: "[email protected]"
recipient: "[email protected]"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)