Skip to content

tyjak/ansible-archlinux

Repository files navigation

Ansible Archlinux installation

Personal installation of archlinux for my daily use. It's work in progress and a complete rewrite of my previous ansible archlinux project

How to use

  1. Put the name (hostname) of your machine to 'ground' if it's a personnal computer or 'cloud' if it's a server from a cloud provider or to 'minimal' to have a minimalistic install.
  2. if you want customize your install you can provide a file in host_vars named with your hostname
  3. initialize the host with init.yml playbook (must be adpated if there no sudo or just root user)
  4. install archlinux `ansible-playbook -i hosts --limit={my machine name} install.yml

Add deploy VPN Configuration

To deplay a client vpn configuration, a openvpn configuration vaulted file is needed.

This is the procedure to generate the vaulted file:

Execute `./utils/generate_ansible_openvpn_vault_file.sh NAME_OF_YOUR_VPN_CONNECTION VPN_CONF_FILENAME PATH_TO_VPNCONF_DIR

It will :

  • make an archive of your /{PATH_TO_YOUR_VPN_CONF}/{NAME OF YOUR VPN LINK}_openvpn.* files
  • put in ./roles/user/file/vpn/{NAME OF YOUR VPN LINK}_openvpn.vault
  • encrypted it

About

My personal ansible archlinux installation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published