Hi,
When I try to setup the RH403 lab ch10s05 with the "lab start api-review" script I've two times recieved an error like "FAIL Copy file in 'workstation':'/home/student/'" and when doing the lab I can't install the community.general ansible collection with the "ansible-galaxy collection install"-command.
Since we're not picking the files from the online galaxy.ansible.com URL I figure I'm expected to give a command in the form "ansible-galaxy collection install <name-of-tgz-file>" like in the "redhat-satellite-3.6.0.tgz" case. Problem is that there is no tgz-file for community.general. Can I download it manually or do I have to do something/not do something for the script to work?
@swefredde try this and see if it works :
sudo ansible-galaxy collection install -p /usr/share/ansible/collections/ /home/student/.venv/labs/lib/python3.9/site-packages/rh403/materials/labs/community-general-7.2.1.tar.gz
I had the same issue. There should be a community-general-7.2.1.tar.gz file located on the student@workstation VM in the /home/student directory. If that's not there, you can download the tar file to that directory using Firefox on the student workstation. Searching "community.general ansible galaxy" is the easiest way to get to the community.general Collections page on Ansible Galaxy. From there, select the dropdown arrow in the Version box. Look for v7.2.1 (I found it on page 2). Under Install --> Download select the Download tarball link. It should say "You have chosen to open: community-general-7.2.1.tar.gz".
Save the file to /home/student and follow the instructions in 3.2 again.
Hope this helps...
@swefredde try this and see if it works :
sudo ansible-galaxy collection install -p /usr/share/ansible/collections/ /home/student/.venv/labs/lib/python3.9/site-packages/rh403/materials/labs/community-general-7.2.1.tar.gz
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.