Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

ansible_connection unclear in README #38

Open
mwk24 opened this issue Nov 27, 2023 · 1 comment
Open

ansible_connection unclear in README #38

mwk24 opened this issue Nov 27, 2023 · 1 comment

Comments

@mwk24
Copy link

mwk24 commented Nov 27, 2023

The readme suggests the line:

matrix.YOUR.DOMAIN ansible_host=YOUR_SERVERS_IP ansible_connection=local ansible_ssh_user=root ansible_connection=community.docker.nsenter

This seems off to me:

  • There are 2 values for ansible_connection: local and community.docker.nsenter. this can't be right
  • nsenter is designed to allow ansible in a container to act as the host (afaik), so I don't see the utility of this when using ssh to the server (as the README is describing), when surely the commands are run as root via ssh?

nsenter is useful when ansible is run in a container on the matrix host itself, afaik. (how this is different to --privileged would be useful to know also)

@mwk24
Copy link
Author

mwk24 commented Nov 27, 2023

Also - not sure why docker installation is disabled for the target matrix host.

@mwk24 mwk24 mentioned this issue Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant