Personal installation of archlinux for my daily use. It's work in progress and a complete rewrite of my previous ansible archlinux project
- 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.
- if you want customize your install you can provide a file in
host_vars
named with your hostname - initialize the host with init.yml playbook (must be adpated if there no sudo or just root user)
- install archlinux `ansible-playbook -i hosts --limit={my machine name} install.yml
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