From 3ea2455dc5b9b928e17b2fb4e57245c1625c3bc5 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Mon, 19 Aug 2019 20:30:16 +0200 Subject: [PATCH] return back the encryption variable --- roles/cloud-ec2/defaults/main.yml | 1 + roles/cloud-ec2/tasks/cloudformation.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/cloud-ec2/defaults/main.yml b/roles/cloud-ec2/defaults/main.yml index 9baa9b9..ce818fe 100644 --- a/roles/cloud-ec2/defaults/main.yml +++ b/roles/cloud-ec2/defaults/main.yml @@ -1,4 +1,5 @@ --- +encrypted: "{{ cloud_providers.ec2.encrypted }}" ec2_vpc_nets: cidr_block: 172.16.0.0/16 subnet_cidr: 172.16.254.0/23 diff --git a/roles/cloud-ec2/tasks/cloudformation.yml b/roles/cloud-ec2/tasks/cloudformation.yml index 207561d..27f4265 100644 --- a/roles/cloud-ec2/tasks/cloudformation.yml +++ b/roles/cloud-ec2/tasks/cloudformation.yml @@ -13,7 +13,7 @@ ImageIdParameter: "{{ ami_image }}" WireGuardPort: "{{ wireguard_port }}" UseThisElasticIP: "{{ existing_eip }}" - EbsEncrypted: "{{ cloud_providers.ec2.encrypted }}" + EbsEncrypted: "{{ encrypted }}" tags: Environment: Algo register: stack