mirror of
https://github.com/trailofbits/algo.git
synced 2026-09-12 04:37:48 +02:00
* Change default SSH port * Iptables to ansible_ssh_port * Add Scaleway * permissions and groups fixes * update firewall docs * SSH fixes * add missing cloudinit to cloud-azure * remove ansible_ssh_user from the tests * congrats message fix
22 lines
756 B
YAML
22 lines
756 B
YAML
---
|
|
- name: Deploy the template
|
|
cloudformation:
|
|
aws_access_key: "{{ access_key }}"
|
|
aws_secret_key: "{{ secret_key }}"
|
|
stack_name: "{{ stack_name }}"
|
|
state: "present"
|
|
region: "{{ algo_region }}"
|
|
template: roles/cloud-ec2/files/stack.yaml
|
|
template_parameters:
|
|
InstanceTypeParameter: "{{ cloud_providers.ec2.size }}"
|
|
PublicSSHKeyParameter: "{{ lookup('file', SSH_keys.public) }}"
|
|
ImageIdParameter: "{{ ami_image }}"
|
|
WireGuardPort: "{{ wireguard_port }}"
|
|
UseThisElasticIP: "{{ existing_eip }}"
|
|
EbsEncrypted: "{{ encrypted }}"
|
|
UserData: "{{ lookup('template', 'files/cloud-init/base.yml') | b64encode }}"
|
|
SshPort: "{{ ssh_port }}"
|
|
tags:
|
|
Environment: Algo
|
|
register: stack
|