fix(semaphore): become_key=None (wed has passwordless sudo)
Semaphore rejected the previous become_key=wed-ssh with 'access key type not supported for ansible become user' — that field is for a sudo PASSWORD (login_password type), not a reused SSH key. wed has passwordless sudo on every host (set up by the VM template), so the correct value is the built-in 'None' key.
This commit is contained in:
@@ -90,7 +90,10 @@ semaphore_config:
|
|||||||
# wed is the universal automation account pre-baked in every VM
|
# wed is the universal automation account pre-baked in every VM
|
||||||
# template. Semaphore uses it for fleet-wide jobs.
|
# template. Semaphore uses it for fleet-wide jobs.
|
||||||
ssh_key: wed-ssh
|
ssh_key: wed-ssh
|
||||||
become_key: wed-ssh
|
# become_key is Semaphore's sudo PASSWORD slot, not a second SSH
|
||||||
|
# key. wed has passwordless sudo on every host, so reference the
|
||||||
|
# built-in "None" key. (Semaphore rejects an SSH-type key here.)
|
||||||
|
become_key: None
|
||||||
|
|
||||||
environments:
|
environments:
|
||||||
- name: default
|
- name: default
|
||||||
|
|||||||
Reference in New Issue
Block a user