-
Initial installation:
ansible-playbook -i hosts/openconnect-server openconnect.yaml --tags="install"
-
Add users to default/main.yaml and run
ansible-playbook -i hosts/openconnect-server openconnect.yaml --tags="add_clients"
-
Remove users: update
clients_to_remove
in default/main.yaml and runansible-playbook -i hosts/openconnect-server openconnect.yaml --tags="remove_clients"
-
Get all users certifacate:
ansible-playbook -i hosts/openconnect-server openconnect.yaml --tags="add_clients" --extra-vars "get_all_users_certs=True"