mirror of https://github.com/trailofbits/algo
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d20050f063 | 8 years ago | |
---|---|---|
configs | 8 years ago | |
templates | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
ansible.cfg | 8 years ago | |
cloud.yml | 8 years ago | |
common.yml | 8 years ago | |
config.cfg | 8 years ago | |
deploy.yml | 8 years ago | |
inventory | 8 years ago | |
inventory_users | 8 years ago | |
security.yml | 8 years ago | |
users.yml | 8 years ago | |
vpn.yml | 8 years ago |
README.md
Local requirements:
- ansible >= 2.2.0
- python >= 2.6
- dopy
How to run:
- Open the file
config.cfg
in your favorite text editor and change variables. At least you should changeserver_name
, and specify users inusers
list. - Start to deploy and follow the instructions:
ansible-playbook deploy.yml
-
When the process is done, you can see
.mobileconfig
files and certificates in the directory -configs
. Send.mobileconfig
to your users for using on iPhones or MacOS or send certificates for using on other clients (StrongSwan client for Android or native IKEv2 client for Windows) -
When the deploy proccess is done a new server will be placed in the local inventory file -
inventory_users
-
If you want to add or delete users, just update the (
users
) list in the config file (config.cfg
) and then run the playbook:
(This command will update users on all your servers in the fileinventory_users
, if you want to limit servers, you can use option-l
)
ansible-playbook users.yml -i inventory_users
ansible-playbook users.yml -i inventory_users -l vpnserver.com