crivetimihai / ansible_virtualization Goto Github PK
View Code? Open in Web Editor NEWAnsible Collection: Virtualization roles
Home Page: https://crivetimihai.github.io/ansible_virtualization/
Ansible Collection: Virtualization roles
Home Page: https://crivetimihai.github.io/ansible_virtualization/
mazer freeze without any error during download of the collection, all your other collection working correctly, i've read somewhere that trailing slash on galaxy.yml file can cause problem.
"galaxy.yml" of this collection got one on the "documentation" path, all your other projects didn't.
When I try to install vagrant 2.2.7 on RHEL 8.3 with ansible 2.9.16, the package install task fails with:
TASK [crivetimihai.virtualization.vagrant : install RedHat packages] *********************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to validate GPG signature for vagrant-1:2.2.7-1.x86_64"}
I believe this occurs because the RPM is not signed. Instead Hashicorp suggests validating the checksum. However, I did not experience this issue when installing on RHEL 8.0 with a slightly older version of ansible. I suppose it's possible a python module version changed, such as the one for dnf.
To work around this issue, I disabled the gpg check in my fork:
- name: install RedHat packages
package:
name: "{{ redhat_packages }}"
state: present
disable_gpg_check: yes
become: yes
Hi,
First, thank you for these roles, they are awesome and I use them (picked up some roles, not the entire collection).
I just downloaded your collection and tested the docker virtualization installation over Fedora 31.
The results are succesful, so I'll PR the modification letting end users use it with this platform.
Best regards,
Charlie
Hi,
mazer install crivetimihai.virtualization
Is looping indefinitely, I guess there is an issue with this package as following command worked perfectly (It seems to be blocked on page 2).
mazer install crivetimihai.development
mazer install crivetimihai.server
mazer install crivetimihai.workstation
Let me know if you want more details.
Regards,
In the Vagrant role, the task for RedHat references a variable redhat_packages
, however the variable defined in the vars file is rhel_packages
.
The variable name should be changed to be consistent in the task and the vars file.
The workaround for this issue is to set the expected variable to the one defined in the vars file:
- hosts: all
tasks:
- import_role:
name: crivetimihai.virtualization.vagrant
vars:
redhat_packages: "{{ rhel_packages }}"
When running this role I am getting the following error:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No package matching 'https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.deb' is available"}
This is happening because in the install_Ubuntu.yml
task it is calling the package module using the name parameter but passing a list of urls to a deb.
The only way to install a deb from a url according to ansible docs is by using the deb parameter.
Here is one way of fixing the error:
- name: install Ubuntu packages
package:
deb: "{{ item }}"
loop: "{{ ubuntu_packages }}"
become: yes
I'm sure there is probably a better way to address this issue rather than using the snippet above.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.