This project will discover and provide orchestration and instruction to the various servers in the AniNIX ecosystem. It's named after the Star Wars Imperial Intelligence organization that oversaw II's various divisions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.2 KiB

2 years ago
  1. This project will discover and provide inventory intelligence to Sora, Shadowfeed, Geth, and Sharingan. It is named after the fictional Star Wars Imperial Intelligence organization that oversaw the various divisions of Intelligence and orchestrated their operations.
  2. *Note*: This project is in progress -- former Makefiles from [ConfigPackages](/AniNIX/ConfigPackages) are being upgraded into Ansible playbooks here.
  3. # How to use
  4. This project expects that you use an Ansible vault for credentials. Create one and add this to your `.bashrc`.
  5. ```
  6. export ANSIBLE_VAULT_PASSWORD_FILE=$HOME/password-store/${organization}.vault.password
  7. export ANSIBLE_VAULT_FILE=$HOME/password-store/${organization}.vault
  8. ```
  9. Take a look at `examples/msn0.yml` as an example inventory -- make sure you populate one of your own.
  10. Once you have your vault and inventory, use [AniNIX/ShadowArch](/AniNIX/ShadowArch) with your hypervisor to provision the base image for your machines, or [Raspbian](https://www.raspberrypi.org/).
  11. Then, use the SSHkey playbook to copy your key and the deploy playbook to set things up.
  12. ```
  13. ansible-playbook -i your-inventory.yml playbooks/sshkey.yml
  14. ansible-playbook -i your-inventory.yml playbooks/deploy.yml
  15. ```
  16. Happy hacking!