L
L
levisl2016-06-06 13:39:49
linux
levisl, 2016-06-06 13:39:49

Is it possible to connect remotely to the rpm/yum database on the host?

It is necessary to collect information about the versions of installed applications on the host in one place.
Is it possible to connect remotely to the database and retrieve values ​​from it?
While using bash
ssh hostname 'rpm -qa | grep appname'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Biryukov-Romanov, 2016-06-06
@urtow

No.
To execute scripts on a pool of remote machines, it is better to use special software (which partially works through the same SSH).
A simple option is to use fabric
. A more complex one is to collect information through ansible or saltstack.

Андрей Михалёв, 2016-06-06
@Endru9

боюсь спросить для чего это нужно...
может вам это нужно?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question