Commit graph

1089 commits

Author SHA1 Message Date
Glenn Schlereth
8de71fcfb2
Implemented architecture choice 'arm' or amd 'x86_64' for EC2 cloud
New `arch` config.cfg parameter is used along with the image name
parameter to find the most recent OS image to be used in hosted ec2
instance. This allows the user to choose arm based instance types
which was causing algo failure during cloud formation.
2021-09-07 20:38:30 -03:00
Jack Ivanov
1c6702d3ef
azure regions (#14277) 2021-08-14 19:27:43 +03:00
Glenn Schlereth
4464be8259
Added support for EC2 Spot instances (#14248)
If new instance_market_type config.cfg variable specifies 'spot' instead of 'on-demand' then
the stack.yml creates a LaunchTemplate resource using spot option. The create EC2 Instance command
uses that LaunchTemplate.
2021-08-14 15:26:17 +03:00
David Myers
e431f21cbb
Move the dnscrypt-proxy cache file (#14235) 2021-08-14 15:12:54 +03:00
Chad Duffey
ec1fa3bb57
update Azure venv - new versions of msrestazure & azure-cli-core to resolve errors (#14109)
https://github.com/trailofbits/algo/issues/1881 

I needed the update to azure-cli-core as suggested by @benzin1984 but the new version didn't work for me without an update to msrestazure as well. 

Dependency changes:
msrestazure==0.6.4
azure-cli-core==2.16.0
2021-08-14 15:07:26 +03:00
Wes Mills
99473ef104
Add and sort multiple new Azure regions (#14233)
## Description
Azure has added several regions, some net-new and others moved from standalone cloud instances into general Azure.

## Motivation and Context
Azure Germany, in particular, will soon not be a standalone cloud and I wanted to use Algo to deploy into that region.

## How Has This Been Tested?
Exported Azure regions through az CLI and did JSON transform into the main.yml in my local repo; successfully deployed Algo on a VM in germanywestcentral.

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] I have read the **CONTRIBUTING** document.
- [x] My code follows the code style of this project.
- [] My change requires a change to the documentation.
- [] I have updated the documentation accordingly.
- [] I have added tests to cover my changes.
- [] All new and existing tests passed.
2021-08-14 15:06:58 +03:00
formula97
665af5a7f4
Update Google Compute Environment machine type (#14251)
Google advised that the f1-micro tier will no longer be free after 31AUG21 and suggested e2-micro will be the new free tier.
2021-08-03 23:28:53 -07:00
Jauder Ho
b823278aa6
SECURITY: Update Jinja2 to more recent version (#14258)
* Update main.yml

* Create dependabot.yml

* Bump actions/setup-python from 1 to 2.2.2

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 1 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v1...v2.2.2)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update requirements.txt

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 23:26:37 -07:00
dependabot[bot]
96988f1b26
Bump actions/setup-python from 1 to 2.2.2 (#14254)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 1 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v1...v2.2.2)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 13:26:44 -04:00
Jauder Ho
e36d237ebc
Add Dependabot scanning (#14238)
* Update main.yml

* Create dependabot.yml
2021-07-26 13:13:42 -04:00
dependabot[bot]
e5235e1bdc
Bump ansible from 2.9.7 to 2.9.20 (#14220)
Bumps [ansible](https://github.com/ansible/ansible) from 2.9.7 to 2.9.20.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/compare/v2.9.7...v2.9.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-06 13:09:54 +03:00
David Myers
728b8aae06
Install required version of jinja2 earlier (#14206) 2021-05-26 13:36:18 +03:00
David Myers
b6f28c753a
Make builds pass (#14174) 2021-05-25 18:22:53 +03:00
David Myers
1f04ab3ec1
Make builds pass (#14174) 2021-05-25 18:07:18 +03:00
David Myers
c50e0d0aad
Make builds pass (#14174) 2021-05-25 18:06:32 +03:00
David Myers
e4e8e905d5
Make builds pass (#14174) 2021-05-25 18:06:10 +03:00
David Myers
44d4c274ef
Make builds pass (#14174) 2021-05-25 18:04:59 +03:00
Tom Hummel
70f9f91112
Fix typo (#14145) 2021-02-13 14:35:44 +03:00
Marc Tamsky
968a676ef0
Update required_ansible_version regex to support 2.10.x (#14115)
(in advance of actually using ansible>=2.10.x)
2021-01-05 22:26:04 +03:00
elreydetoda
11c0c2ca71
adding ubuntu 20.04.1 rpi server deps (#14116)
* adding ubuntu 20.04.1 rpi server deps to readme

* Update README.md per code review

Co-authored-by: David Myers <dem@myersnet.net>

Co-authored-by: David Myers <dem@myersnet.net>
2021-01-05 22:24:41 +03:00
David Myers
654809f126
Explicitly set SSH permissions in base.sh (#1927) 2021-01-05 22:22:45 +03:00
Jack Ivanov
4adb35db80
Update README.md 2020-12-11 12:57:27 +03:00
Jack Ivanov
5fd4cb3c9c
Update troubleshooting.md 2020-12-11 12:46:56 +03:00
Jack Ivanov
e99aebb268
Update README.md 2020-12-11 12:45:33 +03:00
Jack Ivanov
8c560719a5
skip pre tasks in update-users (#1921) 2020-12-08 13:23:24 +03:00
Jack Ivanov
ebec20ed36
Multiple Azure fixes (#1908)
* Multiple Azure fixes

* back to azure daily
2020-10-31 22:40:09 +03:00
Antonio Carlos Ribeiro
bf6b969f0c
Add DescribeRegions to CloudFormation (#1901)
I needed to add this to fix 

```
An error occurred (AccessDeniedException) when calling the GetRegions operation
```
2020-10-31 20:26:30 +03:00
David Myers
b5bb64d07a
Allow more users (#1895) 2020-10-31 20:26:12 +03:00
David Myers
a1d39aecf5
Update instructions for Ubuntu 20.10 (#1892) 2020-10-31 20:24:58 +03:00
Clément Bourgoin
ad53c69f71
Update Scaleway setup docs (#1889) 2020-10-31 20:24:33 +03:00
David Myers
f1f676b75e
Make ansible-lint pass (#1893) 2020-10-31 20:23:35 +03:00
David Myers
2821f28866
Move Lightsail to Ubuntu 20.04 (#1873) 2020-09-27 13:54:48 +03:00
Rick Behl
52f88ad12e
Update troubleshooting.md (#1869)
Provide potential fix for another problem with old firewalls
2020-09-04 13:22:02 +03:00
Squirrel
060b401880
add linode as one of cloud providers (#1590)
* add linode as one of cloud providers

* add Linode into cloud provider list

* fix code style

* install requirements of ansible linode module

* Update prompts.yml

- Make the regions list more readable
- Assign us-east as the default region

* remove prompt of asking root password

* roles/common: Add sshd tasks

* cloud-linode/tasks: Fix LINODE_API_TOKEN env lookup

* docs: Add Linode to Ansible deploy docs

* docs: Add cloud-linode

* config: Use Ubuntu 20.04 on Linode

* README: syntax

* Linode stackscript support

* Linode stackscript fix

* linting

Co-authored-by: Jack Ivanov <17044561+jackivanov@users.noreply.github.com>
Co-authored-by: William Woodruff <william@yossarian.net>
Co-authored-by: William Woodruff <william.woodruff@trailofbits.com>
Co-authored-by: Jack Ivanov <e601809@gmail.com>
2020-08-23 11:41:27 +03:00
David Myers
66e024a015
Update macOS doc (#1865)
* Update macOS doc

* Small change
2020-08-23 11:40:37 +03:00
Jack Ivanov
4172dea436 index fix 2020-08-08 12:50:12 +01:00
Jack Ivanov
04a2f9361b index fix 2020-08-08 12:47:42 +01:00
Jack Ivanov
7a13a297f5 index fix 2020-08-08 12:44:16 +01:00
David Myers
b1d1491a66
Clarify AWS prompts (#1861) 2020-08-08 14:10:14 +03:00
Jack Ivanov
8b2b57deda
Install dnscrypt-proxy from ubuntu repos (#1859) 2020-08-07 20:15:13 +03:00
David Myers
4e793ddf65
Update macOS doc (#1858) 2020-08-06 22:47:04 +03:00
Jack Ivanov
54bb481d2c
Update CHANGELOG.md 2020-08-06 19:32:23 +03:00
Jack Ivanov
fa9e43e7b4
Update CHANGELOG.md 2020-08-06 19:31:23 +03:00
Paul Brown
be96315775
Ansible 2.8.8 -> 2.9.7 to fix python 3.8.2 errors (#1777)
* Ansible 2.8.8 -> 2.9.2 to fix python 3.8.2 errors

* ansible 2.9.2 -> 2.9.7
2020-08-06 19:24:07 +03:00
David Myers
8894dd0848
Discontinue use of the WireGuard PPA (#1855)
* Discontinue use of the WireGuard PPA

* Add instructions to update the system

* Change reboot instruction
2020-08-06 19:09:15 +03:00
Jack Ivanov
5fc738ba8b
Revert "Refactor cloud-init/base.sh (#1797)" (#1856)
This reverts commit f0d0e91be0.
2020-08-04 20:34:06 +03:00
djds
f0d0e91be0
Refactor cloud-init/base.sh (#1797)
* Refactor cloud-init/base.sh

* Pass shellcheck
* Use variable for username
* Fix issues with umask and sudo
* Simplify until loops

* Use literal algo for filename in /etc/sudoers.d/10-algo-user
2020-08-03 11:36:18 -04:00
skim
3fe09bd904
Update current status of Wireguard faq to stable (#1849) 2020-08-03 11:30:49 -04:00
Lance McCarthy
350800fdf7
Added Azure deployment troubleshooting solution (#1853)
Added troubleshooting steps to a common problem when deploying to Azure (Deployment Permissions Error).
2020-08-03 11:29:07 -04:00
Jason A. Novak
830877557f
Update troubleshooting document to address #1463 and related issues (#1835)
Clarify instructions in troubleshooting re: removing wireguard and config files as well as add troubleshooting step re: localhost being used instead of a domain name or IP address.
2020-07-22 16:09:43 -04:00