summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-30 02:16:27 +0100
committerJoe Carstairs <me@joeac.net>2026-07-30 02:16:27 +0100
commit6509a0b9c496f2e3cf0287a18812f80e8aa05140 (patch)
treea17b0a5a9d6aa976b6143e9423a3bd0b6a93aa22
parent7016f172a15e783e6cc860aac1b181b4a153695c (diff)
specifies ansible_become_method in inventory
-rw-r--r--ansible/inventory.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/inventory.yml b/ansible/inventory.yml
index a92bcf8..860ff05 100644
--- a/ansible/inventory.yml
+++ b/ansible/inventory.yml
@@ -3,6 +3,7 @@ ungrouped:
pi-broughton:
ansible_host: 192.168.178.91
ansible_ssh_user: broughton
+ ansible_become_method: community.general.doas
ansible_become_password: !vault |
$ANSIBLE_VAULT;1.2;AES256;ansible
37303430343230343630613466313966363364623237643761336130653863343666366137346139
@@ -14,6 +15,7 @@ ungrouped:
blade-canongate:
ansible_host: 192.168.178.75
ansible_ssh_user: canongate
+ ansible_become_method: ansible.builtin.sudo
ansible_become_password: !vault |
$ANSIBLE_VAULT;1.2;AES256;ansible
38616635313066363236373162383131623435313763393535316435343462323530306530373436