Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.93 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.93 KB

Using Ansible to Configure Laptop - SA

Requirements and Steps

  • Fedora installed
    • 32 GiB RAM (16 GiB Minimum)
    • "/" 40 GiB
    • "/home/" 200+ GiB
    • "/boot" 200 MiB
    • "swap" 6 GiB
  • Set hostname to laptop.rnelson-demo.com
  • Install Atom from https://atom.io/
    • "Ctrl + Shift + P", install Beautify and File Icons
  • Modify the following files with the correct variables for environment
    • /home/rnelson/git/laptop-configure/group_vars/all
  • Execute the following command to pull down the run.sh script which will configure the environment and execute the main.yml playbook

Roles

  • firewall (configure firewall ports for SSH and HTTP/HTTPS)
  • packages (install necessary packages)
  • myfiles (local files needing to be copied to laptop)
  • libvirtd (configures libvirtd)
  • httpd (configures httpd for hosting necessary files)
  • openscap (makes separate directory, clone GitHub for scap-security-guide, copy combine-tailoring.py)
  • create-libvirt-network (creates libvirt network from user defined variables)

Vars

All variables are located in group_vars/all. Update that file with your environment details.

Tags

  • firewall
  • myfiles
  • packages
  • libvirtd
  • httpd
  • openscap
  • network

Remaining Items to Complete

License

Red Hat, the Shadowman logo, Ansible, and Ansible Tower are trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States and other countries.

All other parts of this project are made available under the terms of the MIT License.