Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bbaassssiiee/vagransible
Centos6 VM compliant to DISA-STIG (US Government standard)
https://github.com/bbaassssiiee/vagransible
ansible-playbook centos6 hardening packer security-automation vagrant
Last synced: 2 months ago
JSON representation
Centos6 VM compliant to DISA-STIG (US Government standard)
- Host: GitHub
- URL: https://github.com/bbaassssiiee/vagransible
- Owner: bbaassssiiee
- Created: 2015-02-21T22:10:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T22:43:17.000Z (over 5 years ago)
- Last Synced: 2023-02-28T03:06:04.940Z (almost 2 years ago)
- Topics: ansible-playbook, centos6, hardening, packer, security-automation, vagrant
- Language: Shell
- Homepage:
- Size: 2.25 MB
- Stars: 15
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagransible
Ansible + Vagrant = vagransible
Vagransible is a demo for HUG Amsterdam by Bas Meijer.
Check Presentation.pdf for the slides.NOTE: This demo was made on a Mac.
Centos 6 is used in this exploration of Vagrant, Packer and Ansible.
## Usage
### Enter these commands with vagransible as the work directory
'make prepare' # download the required roles
'make demo' # create a centos6 base image for virtualbox___
- Vagrant allows users to create disposable virtual machines for their projects.
- Packer creates base images, for Vagrant and also for the clouds.
- Ansible provisions these machines.
- Combining these tools yields full control over development environments.___
### makeThis project has a Makefile that wraps some longer commands and their dependencies.
make prepare # install dependencies
make packer # build the centos image with packer
make box # add the packer built box for use by vagrant
make up # vagrant up, in an idempotent way
make harden # run the hardening___
### AnsibleThe packer.yml playbook defines what is done during the Packer run
The provision.yml playbook defines what is done during the Vagrant run.
___
**Hardening**To show how security can be improved with Ansible:
'make harden' # run the RHEL6-STIG role to create a USG compliant VM
'make audit' # check if the VM is indeed compliant
The Vagrantfile defines a virtual machine with Centos 6, you can login to it:
vagrant ssh
___
[@bbaassssiiee](https://twitter.com/bbaassssiiee)
___