RETIRED, Security Role for OpenStack-Ansible
Go to file
Jenkins e9e425247e Merge "Add conf file entry for chrony" into stable/newton 2017-03-09 15:45:55 +00:00
defaults Backport of package optimization 2016-11-18 09:59:00 -06:00
doc Backport of package optimization 2016-11-18 09:59:00 -06:00
files Add ability to enable unattended upgrades 2016-04-15 11:58:29 +01:00
handlers Merge "Add conf file entry for chrony" into stable/newton 2017-03-09 15:45:55 +00:00
meta Add CentOS 7 and Ubuntu 16.04 support 2016-05-13 14:57:28 -05:00
releasenotes Backport of package optimization 2016-11-18 09:59:00 -06:00
tasks Merge "Add conf file entry for chrony" into stable/newton 2017-03-09 15:45:55 +00:00
templates Merge "Enable ntp client functionality with chronyd" into stable/newton 2017-02-27 18:00:28 +00:00
tests Merge "Fix auditd restart handler" into stable/newton 2017-03-09 15:45:47 +00:00
vars Add conf file entry for chrony 2017-02-28 15:11:11 +00:00
.gitignore Update testing bits for consistency 2016-09-19 08:39:55 +00:00
.gitreview Update .gitreview for stable/newton 2016-09-29 14:42:36 -04:00
LICENSE Initial import of openstack-ansible-security role 2015-10-07 07:27:39 -05:00
README.md Replace github with git.o.o 2016-11-03 13:42:30 +00:00
README.rst [Docs] More cleanup 2016-09-14 12:18:30 -05:00
Vagrantfile Prepare vagrant centos/7 box for role testing 2017-03-01 10:42:30 +00:00
bindep.txt Install python2-pyOpenSSL package on CentOS 2017-03-03 13:26:32 -06:00
manual-test.rc Use centralised test scripts 2016-09-30 10:30:43 +00:00
run_tests.sh Update testing bits for consistency 2016-09-19 08:39:55 +00:00
setup.cfg Automate the STIG documentation 2016-09-09 14:43:30 +00:00
setup.py Updated from global requirements 2016-07-15 11:26:50 +00:00
test-requirements.txt Updated from global requirements 2016-09-09 22:51:56 +00:00
tox.ini Backport of package optimization 2016-11-18 09:59:00 -06:00

README.md

openstack-ansible-security

The openstack-ansible security role applies security hardening configurations from the Security Technical Implementation Guide(STIG) to systems running Ubuntu 14.04, Ubuntu 16.04, CentOS 7, and Red Hat Enterprise Linux 7.

The role is part of the OpenStack-Ansible project, which deploys enterprise-grade OpenStack clouds using Ansible. However, the role can easily be used outside of an OpenStack environment to secure hosts, virtual machines, and containers.

For more details, review the openstack-ansible-security documentation.

Requirements

This role can be used with or without the OpenStack-Ansible role. It requires Ansible 1.9.1 or later.

Role Variables

All of the variables for this role are in defaults/main.yml.

Dependencies

This role has no dependencies.

Example Playbook

Using the role is fairly straightforward:

- hosts: servers
  roles:
     - openstack-ansible-security

Running with Vagrant

This role can be tested easily on multiple platforms using Vagrant.

The Vagrantfile supports testing on:

  • Ubuntu 14.04
  • Ubuntu 16.04
  • CentOS 7

To test on all platforms:

vagrant destroy --force && vagrant up

To test on Ubuntu 14.04 only:

vagrant destroy ubuntu1404 --force && vagrant up ubuntu1404

To test on Ubuntu 16.04 only:

vagrant destroy ubuntu1604 --force && vagrant up ubuntu1604

To test on CentOS 7 only:

vagrant destroy centos7 --force && vagrant up centos7

License

Apache 2.0

Author Information

For more information, join #openstack-ansible on Freenode.