RETIRED, Security Role for OpenStack-Ansible
Go to file
Major Hayden d7600f1a12
Fix bare jinja variable pam_password_file
The pam_password_variable didn't have jinja tags around it and it
wasn't being handled correctly. This patch fixes the bug and makes
the task name easier to read.

Closes-Bug: 1693343
Change-Id: Ie469c32a71c3c0e1b381739290ffb608bb04a21c
2017-05-24 14:50:20 -05:00
defaults Skip ClamAV db update in gate 2017-04-21 14:27:16 -05:00
doc Move tasks to 'accounts' file 2017-05-20 13:37:16 -05:00
files Configure AIDE before initial run 2017-05-16 15:33:00 +00:00
handlers Do not update grub if grub not used 2017-04-13 12:34:22 +00:00
library Verify password age limits [+Docs] 2016-12-08 09:44:23 -06:00
meta Adjust readme/meta for Ansible 2.3 2017-04-20 10:08:05 -05:00
releasenotes Make login banner customizable 2017-04-05 08:32:39 -05:00
tasks Fix bare jinja variable pam_password_file 2017-05-24 14:50:20 -05:00
templates Handle RHEL 7 STIG renumbering 2017-04-04 07:22:12 -05:00
tests Merge "Use zuul-cloner for tests repo in OpenStack-CI" 2017-05-18 04:17:26 +00:00
vars Initial Debian 8 support 2017-05-23 07:31:18 -05:00
.gitignore Initial docs scaffolding for RHEL 7 STIG 2016-10-05 20:02:48 +00:00
.gitreview Added .gitreview 2015-10-05 17:37:21 +00:00
LICENSE Initial import of openstack-ansible-security role 2015-10-07 07:27:39 -05:00
README.md Adjust readme/meta for Ansible 2.3 2017-04-20 10:08:05 -05:00
README.rst Show team and repo badges on README 2016-11-25 16:26:50 +01:00
Vagrantfile Add support for Xenial and CentOS 7 to the Vagrantfile 2016-06-14 16:18:22 -04:00
bindep.txt Install python2-pyOpenSSL package on CentOS 2017-03-03 10:33:02 -08:00
manual-test.rc Use centralised test scripts 2016-09-28 12:16:50 +01:00
run_tests.sh Fix pip check in run_tests.sh 2017-01-06 10:56:19 -06:00
setup.cfg Automate the STIG documentation 2016-09-09 14:43:30 +00:00
setup.py Updated from global requirements 2017-03-02 11:52:32 +00:00
test-requirements.txt Updated from global requirements 2017-05-17 03:55:45 +00:00
tox.ini Use zuul-cloner for tests repo in OpenStack-CI 2017-05-16 15:37:26 +00: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 2.3 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.