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

https://github.com/francomile/ansible-role-common

Ansible Role Common
https://github.com/francomile/ansible-role-common

ansible-role common linux

Last synced: 5 months ago
JSON representation

Ansible Role Common

Awesome Lists containing this project

README

          

# Ansible Common Role

[![Lint Ansible roles](https://github.com/francomile/ansible-role-common/actions/workflows/ansible_lint.yml/badge.svg)](https://github.com/francomile/ansible-role-common/actions/workflows/ansible_lint.yml)

[![Release role to Ansible Galaxy](https://github.com/francomile/ansible-role-common/actions/workflows/push_to_galaxy.yml/badge.svg)](https://github.com/francomile/ansible-role-common/actions/workflows/push_to_galaxy.yml)

## Actions of the Role

* Update all packages to the latest version
* Install common packages
* Remove insecure legacy packages
* Set Timezone
* Set limits.conf
* Update `journald.conf`
* Update rsyslog logrotate
* Set vm.swappiness default

## Common Usage

```yaml
roles:
- {
role: francomile.common,
tags: ["common"]
}
```

## Run the playbook

```shell
ansible-playbook -i inventory playbook.yaml --tags "common"
```