I am creating a simple playbook to add the current user's public key onto
the remote host. My playbook fails with error "Failed to connect to the
host via ssh: Permission denied".
I am running the playbook as non-root, and I can succesfully ssh to the
remote host as root. I run the following
I am creating a simple playbook to add the current user's public key onto
the remote host. My playbook fails with error "Failed to connect to the
host via ssh: Permission denied".
I am running the playbook as non-root, and I can successfully ssh to the
remote host as root. I run the
Sorry for the delay,
The problem with your solution is that I have too much information and I
would like to have only the machines of a TAG.
I tried this:
[image: image.png]
But it doesn't work my inventory is empty.
Regards,
Soufiane
Le mer. 21 juil. 2021 à 12:05, Abhijeet Kasurde a
écrit :
>
Could you please elaborate on " I would like to have only the machines of a
TAG." ?
On Tue, Sep 7, 2021 at 3:18 PM Sofian El-Kadouri
wrote:
> Sorry for the delay,
> The problem with your solution is that I have too much information and I
> would like to have only the machines of a TAG.
> I
My goal would be to have several inventories for example :
inventory_prod.yml with in it the machines that are TAG "PROD"
an inventory_test.yml with the machines that are TAG "TEST"
Because currently in one file there are really all the machines and way too
much information that is useless to me.