Ansible Level 2 Task 4 - Unarchive Module -- Faulty

This task states that there is a zip file located under /usr/src/<variable name>/devops.zip on jumphost that must be unarchived on each of the application servers.

I can’t pass this task because that zip file doesn’t exist and my ansible run will always fail because there’s nothing to unarchive. I created my own zip file to see if I could get around the problem but that didn’t work.

I’ve reset the lab a few times and the result is always the same. I did notice that the lab set up takes a lot longer than usual so maybe something didn’t get set up properly.

Hoping someone in the backend can look into this.

Welcome  to KodeKloud Community 

The  zip  file  should  be located at  /usr/src/xxx/  
 (where xxx   is  a folder  which could be sysops  or  devops  depending on your task)

## For  example  :   /usr/src/devops/devops.zip  is  the file  and  /usr/src/devops/ is the location)

First thing to do:

check  if the zip file exists :

ls  /usr/src/devops/devops.zip   

If  the file does not exist , do not create it , just  type "retry later", 
you will have another try .

Good  Luck!

Hi Samer. Yes, those are the locations I have checked, both /usr/src/devops and /usr/src/sysops and the directories were always empty. So even after resetting the lab and trying again, it’s always the same result.

As the file doesnt exist on server, we can copy the zip file from jump_host and then unarchive same.