Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding rhel-system-repo support for the lab #16

Merged
merged 3 commits into from
Jan 10, 2022
Merged

Conversation

midu16
Copy link
Contributor

@midu16 midu16 commented May 29, 2021

Hello,

I added the "rhel-system-roles-1.0.1-1.el8.noarch" package for the laboratory support. Specially for the requirements that are including the use of the rhel-system-roles. I did not include the install of it, due to the fact the install of ansible and rhel-system-roles are part of exam prerequisites.

@midu16
Copy link
Contributor Author

midu16 commented Aug 20, 2021

Solution for the Error 28: no space left on device #19 included into the changes.

@rdbreak
Copy link
Owner

rdbreak commented Jan 3, 2022

Changes approved. I'll merge the next time I'm back at my computer.

@midu16
Copy link
Contributor Author

midu16 commented Jan 3, 2022

thank you for approving it now. I am going to test and clear the appeared conflicts.

@rdbreak
Copy link
Owner

rdbreak commented Jan 3, 2022

No worries. Thanks for you work on this!

repo.vm.provision :shell, :inline => "sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo systemctl restart sshd;", run: "always"
repo.vm.provision :shell, :inline => "yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y; sudo yum install -y sshpass python3-pip python3-devel httpd sshpass vsftpd createrepo", run: "always"
repo.vm.provision :shell, :inline => " python3 -m pip install -U pip ; python3 -m pip install pexpect; python3 -m pip install ansible", run: "always"
repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "*.vdi"]
repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, why vdi exclusion was removed, but this literally, break rsync process.
So, I would suggest to add that back:

repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "*.vdi"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
3 participants