fayaaz / spacewalk.ansible Goto Github PK
View Code? Open in Web Editor NEWInstall Spacewalk on CentOS 7 and add clients using ansible
Install Spacewalk on CentOS 7 and add clients using ansible
Since the release of spacewalk 2.9 this installation is no longer functional due to non working links which is a bit sad as it was working well for 2.4, especially for the ones which do not want to use containers (yet).
I'm not planning to upgrade it as I'm currently not using the project. But if there are enough persons who would benefit I might give it a try.
this line in the script https://github.com/fayaaz/spacewalk.ansible/blob/master/init.sh#L165 points to a downstream repo instead of origin
this can cause confusion especially since this repo is updated by both persons as opposed to the other one with only one person
When installing the Client, it fails with the following error:
FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'ansible.vars.hostvars.HostVars object' has no attribute 'spacewalk'
Hi,
I've set up everything with the ansible-playbook. I've got a working server and got an working client. The client is added succesfully to the server. But, when i try to update the client, i'm getting the following error:
Apt-Spacewalk: Updating sources.list
Ign:1 http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/xUbuntu_18.04 InRelease
Ign:2 spacewalk://spacewalk.*** ubuntu-1804 InRelease
Ign:3 spacewalk://spacewalk.*** ubuntu-1804-security InRelease
Hit:4 http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/xUbuntu_18.04 Release
Get:5 spacewalk://spacewalk.*** ubuntu-1804 Release [963 B]
Get:6 spacewalk://spacewalk.*** ubuntu-1804-security Release [959 B]
Get:7 spacewalk://spacewalk.*** ubuntu-1804 Release.gpg [490 B]
Get:8 spacewalk://spacewalk.*** ubuntu-1804-security Release.gpg [490 B]
Ign:7 spacewalk://spacewalk.*** ubuntu-1804 Release.gpg
Ign:8 spacewalk://spacewalk.*** ubuntu-1804-security Release.gpg
Reading package lists... Done
W: GPG error: spacewalk://spacewalk.*** ubuntu-1804 Release: The following signatures were invalid: EA1B0888A515859A9E9057431E9B918A32452503
E: The repository 'spacewalk://spacewalk.*** ubuntu-1804 Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: spacewalk://spacewalk.*** ubuntu-1804-security Release: The following signatures were invalid: EA1B0888A515859A9E9057431E9B918A32452503
E: The repository 'spacewalk://spacewalk.*** ubuntu-1804-security Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
After trying some things out, like http://www.devops-blog.net/spacewalk/registering-ubuntu-and-debian-servers-with-spacewalk and checking all the signing keys etc. i still can't get it to work.
Should it automaticly sign the packages/release file? Or should i still need to do something?
And if i need to do something, what do i have to do? Cause somehow i can't get the signing to work.
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.