From c2d78de0ce00bb4eb378e4f1ab44e37263f43d00 Mon Sep 17 00:00:00 2001 From: puicchan Date: Thu, 16 Apr 2020 20:57:54 -0700 Subject: [PATCH] Update lab4.yml --- Ansible/04-Security/Code/lab4.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ansible/04-Security/Code/lab4.yml b/Ansible/04-Security/Code/lab4.yml index ac8e6ac..d4296cd 100644 --- a/Ansible/04-Security/Code/lab4.yml +++ b/Ansible/04-Security/Code/lab4.yml @@ -92,7 +92,7 @@ resource_group: "{{ myResource_group }}" name: "{{ myVM }}" admin_username: "testadmin" - admin_password: " {{ output.secret.value }}" + admin_password: " {{ output['secrets'][0]['secret'] }}" vm_size: Standard_B1ms network_interfaces: "{{ myNIC }}" image: @@ -100,4 +100,4 @@ publisher: Canonical sku: 16.04-LTS version: latest - \ No newline at end of file +