improbable-eng / ansible-buildkite-agent

An Ansible role to install the Buildkite Agent.
Apache License 2.0
12 stars 14 forks source link

Debian: systemd enabled only if service startup is allowed #88

Open deepsihag opened 1 year ago

deepsihag commented 1 year ago

buildkite_agent_allow_service_startup controls whether service should be started or not, but in case of Debian service is enabled in systemd, which leads to auto starts on reboots. Using same variable to control the systemd enable/disable as well.

Changes

Using buildkite_agent_allow_service_startup to control the enabled parameter of systemd unit for Debian systems.

Verification

ansible-playbook .... --check