An Ansible Role that applies baseline security settings for: Fedora and Debian Linux distros
Use this repository to apply secure settings to Linux servers. It should be loaded as an Ansible role and deployed as part of a playbook
---
- src: https://github.com/mesoform/linux-security.git
version: v0.1.0
name: linux-security.mesoform.com
scm: git
---
- name: 'Secure Hosts'
hosts: all
become: true
roles:
- role: linux-security.mesoform.com
You will also need to create an Ansible inventory file
For example if using in a pipeline which uses docker images you could do
pipelines:
default:
- step:
name: Secure Host
image: mesoform/image-builder
script:
- ansible-galaxy role install -r requirements.yml
- ansible-playbook -v playbook.yml