RETIRED, Security Role for OpenStack-Ansible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
OpenDev Sysadmins 4b5a7b90bb
OpenDev Migration Patch
4 years ago
defaults Backport of package optimization 6 years ago
doc Backport of package optimization 6 years ago
files Add ability to enable unattended upgrades 7 years ago
handlers Merge "Add conf file entry for chrony" into stable/newton 6 years ago
meta Add CentOS 7 and Ubuntu 16.04 support 7 years ago
releasenotes Backport of package optimization 6 years ago
tasks Merge "Add conf file entry for chrony" into stable/newton 6 years ago
templates Merge "Enable ntp client functionality with chronyd" into stable/newton 6 years ago
tests Merge "Fix auditd restart handler" into stable/newton 6 years ago
vars Add conf file entry for chrony 6 years ago
.gitignore Update testing bits for consistency 6 years ago
.gitreview OpenDev Migration Patch 4 years ago
LICENSE Initial import of openstack-ansible-security role 7 years ago
README.md Replace github with git.o.o 6 years ago
README.rst [Docs] More cleanup 6 years ago
Vagrantfile Prepare vagrant centos/7 box for role testing 6 years ago
bindep.txt Install python2-pyOpenSSL package on CentOS 6 years ago
manual-test.rc Use centralised test scripts 6 years ago
run_tests.sh Update testing bits for consistency 6 years ago
setup.cfg Automate the STIG documentation 7 years ago
setup.py Updated from global requirements 7 years ago
test-requirements.txt Updated from global requirements 6 years ago
tox.ini Backport of package optimization 6 years ago

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.