keepalived.service is not enabled
Bug #1810538 reported by
Andreas Florath
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Expired
|
Medium
|
Unassigned |
Bug Description
After a successful installation of OpenStack using openstack-ansible, the keepalived.service is not enabled by default. After a reboot the service is not started automatically:
# systemctl is-enabled keepalived.service
disabled
To post a comment you must log in.
While implementing a workaround using an additional Ansible playbook, I recognized that the following construct does *not* enable the service:
- name: Enable keepalived.service
become: true
become_user: root
systemd:
name: keepalived
enabled: yes
state: started
(As a workaround, I'm using
shell: systemctl enable keepalived.service
)
Maybe the implementation in openstack-ansible also uses ansible 'systemd' and the problem is a problem of the underlying ansible module?