kayobe/ansible/kolla-host.yml

16 lines
392 B
YAML

---
- name: Ensure Kolla host services are configured
hosts: controllers
tasks:
- name: Ensure host iSCSI services are stopped and disabled
service:
name: "{{ item }}"
state: stopped
enabled: no
become: True
with_items:
- iscsid.socket
- iscsiuio.socket
- iscsid.service
when: "{{ kolla_enable_ironic | bool }}"