Skip to content

GSA/ansible-os-ubuntu18

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu 18.04 GSA Benchmark

Configure Ubuntu 18.04 machine to be GSA compliant. Level 1 and 2 findings will be corrected by default. It's based on GSA Ubuntu 18.04 Benchmark.

Role Variables

There are many role variables defined in defaults/main.yml.

Hardening will be applied to the following configurations by default:
  • General Configurations (Section 1)
  • Services Configurations (Section 2)
  • Network Configurations (Section 3)
  • Logging and Auditing Configurations (Section 4)
  • Access, Authentication and Authorization Configurations (Section 5)
  • System Maintenance Configurations (Section 6)

Above high level configurations and other fine-grained configurations can be enabled/disabled using variabled defined in in defaults/main.yml.

The configuration will not:
  • Install and configure AIDE
  • Install and configure NTP
  • Configure the /etc/group wheel configurations

Other settings and services are listed. Please review to ensure they meet your organizational requirements.

Dependencies

Ansible >= 2.7

Example Playbook

---
- name: Harden Server
  hosts: all
  become: yes

  roles:
    - ansible-os-ubuntu18

How to test locally

ansible-playbook playbook.yml --connection=local

CircleCI Intergration

This repository has been updated to optionally utilize Continuous Intergration with CircleCI and tests the ansbile tasks against a privledged CentOS-7 Container. A low number of tasks are incompatiable when ran against a container vs a vm or bare-metal and have ignore_errors turned on.

Using CircleCI:

License

BSD.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages