Update webmin modules from command line.

8 posts / 0 new
Last post
#1 Sun, 02/01/2015 - 10:14
cstrutton

Update webmin modules from command line.

I am building a server config in Ansible to help provision a server in a repeatable manner. I have been able to find most things I need in the config files. One thing I want to do is update all modules. Is there a way to do this from the command line. Virtualmin has a command line tool. I can't find one for Webmin.

Chris

Thu, 02/05/2015 - 17:00
xorax

Same for me.

All the update process is done by perl script and nothing in the virtualmin api refer to module update... And there is no webmin "public" api (like a cmd line tool or url).

Thanks

Tue, 08/02/2016 - 08:32
Futureweb

+1 for me - would need this functionality for some automatisation across our Servers ...

Andreas Schnederle-Wagner

Wed, 01/30/2019 - 16:29
ice

+1 :)

Wed, 01/30/2019 - 17:57
Joe
Joe's picture

There is a webmin CLI that I checked in a couple of months back. It doesn't do module upgrades or installs yet, but it's on the todo list. It currently sets config values, and a few other minor things.

Edit: I'm not sure if it's in a stable version of Webmin yet, but it'll definitely be in the next one, if it's not already. I dunno when I'll have time to tackle module commands, though. Been really busy lately keeping food on the table and rent paid.

--

Check out the forum guidelines!

Wed, 01/30/2019 - 18:12
ice

Hi @Joe, I've asked you about this webmin CLI on this post too: https://www.virtualmin.com/node/55131

Can you please guide me where I can find this so I can try it? Is it already on github? Please give me a link.

Thank you!

Wed, 01/30/2019 - 18:24
ice

Hi @Joe, I found it on https://github.com/webmin/webmin/tree/master/bin

I didn't check it yet, but in the case you missed it, please make sure that there are some ways to check each value in order to be able to create idempotency on automation software.

I am asking this because virtualmin doesn't have this on all sub-commands (or, for some reasons/bugs some of them are not working as expected). I can give you an example, maybe you can take a look on it to fix it..

Thank you for your work!

Thu, 08/29/2019 - 19:50
h2ojunkie

+1 I can't wait to have a webmin CLI ...for the basic webmin setup stuff at least. Especially installing/configuring modules.

Topic locked