VictoriaMetrics / ansible-playbooks

Ansible Playbooks for Victoria Metrics monorepo
Apache License 2.0
103 stars 34 forks source link

'ansible_service_mgr' is undefined" #7

Closed Lamar463 closed 3 years ago

Lamar463 commented 3 years ago

Hi !

When try to apply vm agent role on all my ubuntu 20.03 virtual machines get this error


    "msg": "The conditional check 'ansible_service_mgr == 'systemd' or ansible_service_mgr == 'upstart'' failed. The error was: error while evaluating conditional (ansible_service_mgr == 'systemd' or ansible_service_mgr == 'upstart'): 'ansible_service_mgr' is undefined"
}

but as i see ansible_service_mgr is not definable variable.
Lamar463 commented 3 years ago

Sorry. Find out that gather_facts was disabled in my playbook.