From a7e0029c68b6d2fb277e8f56902ed9b3e6a68247 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 12 May 2019 22:46:45 +0200 Subject: [PATCH] fix molecule keypair name --- molecule/ec2-centos-7/create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/ec2-centos-7/create.yml b/molecule/ec2-centos-7/create.yml index e4063cd..abedfc4 100644 --- a/molecule/ec2-centos-7/create.yml +++ b/molecule/ec2-centos-7/create.yml @@ -25,7 +25,7 @@ to_port: 0 cidr_ip: '0.0.0.0/0' - keypair_name: "molecule_key_{{ molecule_yml.platforms }}" + keypair_name: "molecule_key_{{ molecule_yml.platforms.name }}" keypair_path: "{{ lookup('env', 'MOLECULE_EPHEMERAL_DIRECTORY') }}/ssh_key" tasks: - name: Create security group