Commit graph

5 commits

Author SHA1 Message Date
Slavi Pantaleev
0cc9223391 Revert "become -> ansible_become"
This reverts commit d7d334240c.

This is very confusing and messy.. but it's documented.
`ansible_become_*` variables actually take priority and override all `become_*`
variables set at the task level.

As such, using `ansible_become=true ansible_become_user=root` in
`inventory/hosts` causes issues because tasks that specify
`become: OTHER_USER` will be forced to run as `root` due to
`ansible_become_user`.
2024-03-26 11:59:05 +02:00
Slavi Pantaleev
d7d334240c become -> ansible_become
For some of these, the `ansible_` prefix does not seem to be needed,
but it's the canonical way to do things and it may become required in
newer Ansible versions.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3237
2024-03-25 07:12:38 +02:00
Slavi Pantaleev
67250f8492 Add note about sudo passwords
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2774
2023-07-01 09:40:31 +03:00
QEDeD
19f5f25df8
Add info regarding the ansible_port varible
Since there's already a service (Gitea) which recommends that SSH is changed to be on a non-standard port, it makes sense to add information about how to configure the playbook/Ansible to connect to a non-standard port
2023-05-04 18:26:16 +02:00
Slavi Pantaleev
488864d29e Initial commit 2023-03-15 10:58:12 +02:00