diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..7be8dc4 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,25 @@ +--- + +name: Lint Code Base +on: + push: + branches-ignore: [master] + pull_request: + branches: [master] + +jobs: + build: + name: Lint Code Base + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Lint Code Base + uses: docker://github/super-linter:v3 + env: + DEFAULT_BRANCH: master + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ANSIBLE_DIRECTORY: . + ANSIBLE_FILE_NAME: .ansible-lint + OUTPUT_DETAILS: detailed diff --git a/README.md b/README.md index a4c5b47..d44832a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/fold_left.svg?style=social&label=Follow%20%40AlgoVPN)](https://twitter.com/AlgoVPN) [![](https://github.com/trailofbits/algo/workflows/Main/badge.svg?branch=master)](https://github.com/trailofbits/algo/actions) +[![GitHub Super-Linter](https://github.com/trailofbits/algo/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) Algo VPN is a set of Ansible scripts that simplify the setup of a personal WireGuard and IPsec VPN. It uses the most secure defaults available and works with common cloud providers. See our [release announcement](https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/) for more information. diff --git a/roles/cloud-scaleway/tasks/main.yml b/roles/cloud-scaleway/tasks/main.yml index 96a4940..b2afae6 100644 --- a/roles/cloud-scaleway/tasks/main.yml +++ b/roles/cloud-scaleway/tasks/main.yml @@ -50,7 +50,7 @@ X-Auth-Token: "{{ algo_scaleway_token }}" - name: Start the server - scaleway_compute: + scaleway_compute: name: "{{ algo_server_name }}" enable_ipv6: true public_ip: dynamic