This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Neon and Ansible

Tags: None
(comma "," separated)
TechnoJunky
Registered Member
Posts
25
Karma
0
OS

Neon and Ansible

Sat Sep 07, 2019 12:59 pm
I have a Linux only network at home. I have a server (Kubuntu) and 3 desktops (2 Kubuntu and 1 Neon). I decided to install Ansible on my server. I want to use it, mostly just for the fun of it, to deploy updates to all the computers. On the Kubuntu computers, to get updates from Konsole, you do the standard apt-get update and upgrade. However, when you do it in Neon, it doesn't like apt-get upgrade and says you should use pkcon update instead. While figuring things out, I found that Ansible doesn't, at least I haven't found it, have a way to run pkcon. So my question is what is the best option to use and are any actually good to use with Neon? if you run apt-get upgrade in Konsole, it states "If you absolutely must use apt you do have to use dist-upgrade or full-upgrade in place of the upgrade command.". So yes, I could choose either of those but is it sufficient? Is there something better or should I just not use Ansible for Neon?

The below info comes from https://docs.ansible.com/ansible/latest ... odule.html
Choices:
dist
full
no ←
safe
yes

If yes or safe, performs an aptitude safe-upgrade.
If full, performs an aptitude full-upgrade.
If dist, performs an apt-get dist-upgrade.
Note: This does not upgrade a specific package, use state=latest for that.
Note: Since 2.4, apt-get is used as a fall-back if aptitude is not present.


F37 KDE Spin
User avatar
vinnywright
Registered Member
Posts
59
Karma
1
OS

Re: Neon and Ansible  Topic is solved

Sun Sep 08, 2019 8:25 pm
if using "apt-get" then yes you want to use "dist-upgrade" on Neon (and Kubuntu IMO) and if using "apt" use "full-upgrade" .

it is fine to use ether on Neon , the warning is to make sure you DO use the dist-upgrade(apt-get) or full-upgrade(apt)

see "man apt-get" and "man apt" to see the difference in upgrade verses dist-upgrade or full-upgrade and you will see why .

I would not use aptitude myself but if your up on it's usage and know it's quirks that's up to you of course

VINNY
TechnoJunky
Registered Member
Posts
25
Karma
0
OS

Re: Neon and Ansible

Tue Sep 10, 2019 12:24 pm
Aptitude sounds familiar. I think i've used it in the distant past. I'll not choose that option. :)

Thanks Vinny


F37 KDE Spin


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]