Major Hayden 3633d354b6
Remove 'physical_host' from inventory
The old 'physical_host' configuration is no longer needed and it
is causing an error in the gate jobs:

  ERROR! Unexpected Exception: 'ansible_host'

Change-Id: Ibc24a1077ad903d6adce3348e053a7c5ff4e3ea0
2017-06-12 13:23:59 -05:00
2017-05-24 19:51:20 +00:00
2017-05-30 18:28:09 +00:00
2017-05-16 15:33:00 +00:00
2017-04-20 10:08:05 -05:00
2017-05-31 13:33:34 +00:00
2017-04-04 07:22:12 -05:00
2017-05-31 13:33:34 +00:00
2017-05-30 18:27:52 +00:00
2017-05-31 13:33:34 +00:00
2016-09-28 12:16:50 +01:00
2017-04-20 10:08:05 -05:00
2016-11-25 16:26:50 +01:00
2017-05-31 13:33:34 +00:00
2016-09-09 14:43:30 +00:00
2017-03-02 11:52:32 +00:00

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.

Description
Ansible role for security hardening
Readme 5.4 MiB
Languages
Jinja 44.5%
Python 41.2%
Shell 14.3%