Ansible не выполнит задачу ниже
- name: Start opendj
service: name={{opendj_service_name}} state=started enabled=yes
потому что служба является службой init.d, а не systemd
Можно ли запустить службу init.d с помощью Ansible?
Ansible не выполнит задачу ниже
- name: Start opendj
service: name={{opendj_service_name}} state=started enabled=yes
потому что служба является службой init.d, а не systemd
Можно ли запустить службу init.d с помощью Ansible?
Вы пробовали, как показано ниже
- name: make sure {{opendj_service_name}} is started
sysvinit:
name: {{opendj_service_name}}
state: started
enabled: yes