Commit Graph

104 Commits (master)

Author SHA1 Message Date
Jack Ivanov 8bdd99c05d Refactor to support Ansible 2.8 (#1549)
* bump ansible to 2.8.3

* DigitalOcean: move to the latest modules

* Add Hetzner Cloud

* Scaleway and Lightsail fixes

* lint missing roles

* Update roles/cloud-hetzner/tasks/main.yml

Add api_token

Co-Authored-By: phaer <phaer@phaer.org>

* Update roles/cloud-hetzner/tasks/main.yml

Add api_token

Co-Authored-By: phaer <phaer@phaer.org>

* Try to run apt until succeeded

* Scaleway modules upgrade

* GCP: Refactoring, remove deprecated modules

* Doc updates (#1552)

* Update README.md

Adding links and mentions of Exoscale aka CloudStack and Hetzner Cloud.

* Update index.md

Add the Hetzner Cloud to the docs index

* Remove link to Win 10 IPsec instructions

* Delete client-windows.md

Unnecessary since the deprecation of IPsec for Win10.

* Update deploy-from-ansible.md

Added sections and required variables for CloudStack and Hetzner Cloud.

* Update deploy-from-ansible.md

Added sections for CloudStack and Hetzner, added req variables and examples, mentioned environment variables, and added links to the provider role section.

* Update deploy-from-ansible.md

Cosmetic changes to links, fix typo.

* Update GCE variables

* Update deploy-from-script-or-cloud-init-to-localhost.md

Fix a finer point, and make variables list more readable.

* update azure requirements

* Python3 draft

* set LANG=c to the p12 password generation task

* Update README

* Install cloud requirements to the existing venv

* FreeBSD fix

* env->.env fixes

* lightsail_region_facts fix

* yaml syntax fix

* Update README for Python 3 (#1564)

* Update README for Python 3

* Remove tabs and tweak instructions

* Remove cosmetic command indentation

* Update README.md

* Update README for Python 3 (#1565)

* DO fix for "found unpermitted parameters: id"

* Verify Python version

* Remove ubuntu 16.04 from readme

* Revert back DigitalOcean module

* Update deploy-from-script-or-cloud-init-to-localhost.md

* env to .env
5 years ago
Jack Ivanov 3c30074a7f
Revert "More robust use of our virtualenv (#1412)" (#1559)
This reverts commit 2909107554.
5 years ago
James Polley 2909107554 More robust use of our virtualenv (#1412)
Prior to this change, the script tests if it's running inside a
virtualenv; and if it is, it assumes that it must be inside its own
virtualenv.

This change switches to testing for the activate binary in the
place we expect; and if it's found, using it directly. This avoids
false positives (running the script inside the wrong virtualenv) and
makes sure that we're running inside the right virtualenv.
5 years ago
Jack Ivanov 25513cf925 Refactoring, Linting and additional tests (#1397)
* Refactoring, Linting and additional tests

* Vultr: Undefined variable and deprecation notes fix

* Travis-CI enable linters

* Azure: Update python requirements

* Update main.yml

* Update install.sh

* Add missing roles to ansible-lint

* Linting for skipped roles

* add .ansible-lint config
5 years ago
Jack Ivanov e8947f318b Large refactor to support Ansible 2.5 (#976)
* Refactoring, booleans declaration and update users fix

* Make server_name more FQDN compatible

* Rename variables

* Define the default value for store_cakey

* Skip a prompt about the SSH user if deploying to localhost

* Disable reboot for non-cloud deployments

* Enable EC2 volume encryption by default

* Add default server value (localhost) for the local installation

Delete empty files

* Add default region to aws_region_facts

* Update docs

* EC2 credentials fix

* Warnings fix

* Update deploy-from-ansible.md

* Fix a typo

* Remove lightsail from the docs

* Disable EC2 encryption by default

* rename droplet to server

* Disable dependencies

* Disable tls_cipher_suite

* Convert wifi-exclude to a string. Update-users fix

* SSH access congrats fix

* 16.04 > 18.04

* Dont ask for the credentials if specified in the environment vars

* GCE server name fix
6 years ago
Mikael Forsgren 2931227db4 New Google Cloud Region (#1013)
Added the new Google Cloud Region Finland (europe-north1) with 3 zones
6 years ago
Jack Ivanov d27b849f24 Ubuntu1804 (#925)
- Fixes #897 #944 #956

Work in progress. Lightsail is not ready for Ubuntu 18.04 yet

- [x] DigitalOcean
~~- [ ] Amazon Lightsail~~
- [x] Amazon EC2
- [x] Microsoft Azure
- [x] Google Compute Engine
- [x] Scaleway
- [x] OpenStack (DreamCompute optimised)
6 years ago
Stijn Balk 9fdbfb0977 Update GCP regions (#957)
* Update GCP regions according to https://cloud.google.com/compute/docs/regions-zones/

* Update GCP regions according to https://cloud.google.com/compute/docs/regions-zones/

* set default back to belgium B
6 years ago
pguizeline e95ae829e3 Fix line spacing to improve readability (#932)
Keeping the organized spacing
6 years ago
pguizeline 499c195129 Add new Azure locations (#929)
Reorganized and added new locations.
https://azure.microsoft.com/en-us/global-infrastructure/locations/
https://azure.microsoft.com/en-us/global-infrastructure/services/
6 years ago
pguizeline 616b849b98 Add new EC2 regions (#928)
Adds new EC2 regions according to:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
6 years ago
Jack Ivanov 3945a0e286 Typo 6 years ago
Jack Ivanov c82bd8c5ff DNS-over-HTTPS (#875) 6 years ago
Matt Behrens f585a416df skip virtualenv check if already activated (#863)
This allows the user to choose their virtualenv method, e.g.
[Pipenv](https://docs.pipenv.org/).
6 years ago
Arun John Kuruvilla aea9c9a5e2 Removed ssh_public_key variable for AWS. Issue #773 (#817) 6 years ago
Jack Ivanov c378eacc00 Warn about local installation 6 years ago
Jack Ivanov 02427910de Ansible 2.4, Lightsail, Scaleway, DreamCompute (OpenStack) integration (#804)
* Move to ansible-2.4.3

* Add Lightsail support #623

* Fixing the EC2 deployment

* Scaleway integration #623

* OpenStack cloud provider (DreamCompute optimised) #623

* Remove the security role

* Enable unattended-upgrades for clouds

* New requirements to make Azure and GCE work
6 years ago
Jack Ivanov 3c55cd15a4 GCE. replace underscores (#698) 7 years ago
Jacob Wilder fee009688e Change the second Canada Central to Canada East for Azure (#676) 7 years ago
pguizeline 9582cba128 Add new GCP zones in South America (#680) 7 years ago
Stev Witzel 8009778012 Add new GCP zones in Frankfurt (#656)
* add new Frankfurt zones to algo script and ansible docs
* backfill ansible docs for recently added GCP zones in London and Sydney
7 years ago
c 2170a8ff25 Add additional GCE zones (London / Australia) (#618)
* Update algo

* Update algo
7 years ago
Jens ae2efea3de Set default value for GCE to mentioned value (14) (#594) 7 years ago
Jack Ivanov 6ae113a38f update-users fix (#591) 7 years ago
Jack Ivanov 3f62dab040 addiitonal check #589 7 years ago
Martey Dodoo 2f4d0c016a Add new Google Cloud us-west1-c zone. (#583)
Add new Google Cloud zone (see
https://cloudplatform.googleblog.com/2017/05/Oregon-region-us-west1-adds-third-zone-Cloud-SQL-and-Regional-Managed-Instance-Groups.html).
Restore original default zone (europe-west1-b; see a470bf071e).
7 years ago
Martey Dodoo d59d67f0ea Add additional Gloud Cloud Engine zones. (#569)
* Add additional Gloud Cloud Engine zones.

Add GCE zones for Northern Virginia (us-east4), Singapore
(asia-southeast1), and Tokyo (asia-northeast1) regions.

* Update possible GCE zones in documentation.
7 years ago
Jack Ivanov 58d5a06e87 delete tasks and move to roles (#519) 7 years ago
Jack Ivanov 97369c303a define local_dns if dns tag used (#533) 7 years ago
Jack Ivanov d10a86b331 Revert "define local_dns if dns tag used (#531)" (#532)
This reverts commit 627b7d5d9b.
7 years ago
Jack Ivanov 627b7d5d9b define local_dns if dns tag used (#531) 7 years ago
Nicholas aea22475c3 Fixed broken links to ansible deployment instructions (#484)
* Fixed broken link in EC2 IAM instructions

* Fixed broken in step 6 of instructions
7 years ago
Dan Guido 22e145c241 Update documentation to include minimum required IAM policy (#461)
* Updating documentation to include minimum required IAM polcy. Closes

* Slightly more concise
7 years ago
George Kargiotakis f13cc71851 Simplify localhost installations (#432)
Make it easier to install non_cloud version on localhost and
add a check whether an IP was given for IP_subject
7 years ago
Dan Guido 38f85a6e78 Add Linux Desktop to compatible prompt 7 years ago
donlockhart 42a663983e Added East US and East US 2 regions to Azure. (#424) 7 years ago
Andy Boutte 57b9cf3db1 adding sa-east-1 region and auto sourcing env/bin/activate (#402) 7 years ago
Michael Mattioli de12d51859 Reorganize documentation for GitHub pages (#378)
Reorganize documentation for clarity and use with GitHub pages static
site generator. This closes #371.
7 years ago
Jack Ivanov 2ec6f41e0f decrease mss 7 years ago
Dan Guido 495b37737a add GCE warning and explicit Ubuntu version 7 years ago
Jack Ivanov 7214f41cfc additional prompts #289 7 years ago
Jack Ivanov 578bb3344d Fixes #314 7 years ago
Josh Meisels d37c6b72c5 Add new Azure regions and allow user to select VM size (#332)
* Update Azure Region List

Included several additional regions in the Azure list.

In a future version we may want to ask users to choose a continent, then present region options since this list is getting long.

* Add VM size selection

Added prompt for user to choose VM size. Useful because the default size is not available in all regions, and there are cheaper sizes.

* Handle vm_size choice in "Create an Instance" step

Use the variable passed in that the user chose for vm_size.

* Differentiate Basic A0 and Standard A0

* Remove vm_size D1 since it's being deprecated

* Fix syntax issue - missing semicolons

* Remove note to self comment

* Remove changes to let user select VM size

Removing my previous additions that let the user select their Azure VM size.

* Hard code VM size to cheapest size

Remove my usage of a variable for VM size. Update to use the Basic_A0, which is the cheapest size of VM.
7 years ago
brad2014 09e5d87c7b Minor name and documentation edits (#327) 7 years ago
jeremy avnet / @brainsik bb55985ab4 Add GCE Western US zones (#319) 7 years ago
Jack Ivanov 49ba1f76b4 Some improvements in the mobileconfig. Fixes #270 7 years ago
Jack Ivanov 8280201dc1 Update azure prompts. Fixes #261 7 years ago
Jack Ivanov 5cbf125202 Some refactoring. Disable unneeded variables. 7 years ago
Jack Ivanov 1cca3b1093 Ensure that ssh keys and configs are exist Fixes #250 (#254) 7 years ago
Dan Guido d271b60b6a Update algo 7 years ago