Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)