--- - name: Install iSCSI storage plugin dependencies package: name: "{{ item }}" state: present when: not openshift_is_atomic | bool register: result until: result is succeeded with_items: - iscsi-initiator-utils - device-mapper-multipath - name: restart services systemd: name: "{{ item }}" state: started enabled: True when: not openshift_is_atomic | bool with_items: - multipathd - rpcbind - name: Template multipath configuration template: dest: "/etc/multipath.conf" src: multipath.conf.j2 backup: true when: not openshift_is_atomic | bool #enable multipath - name: Enable multipath command: "mpathconf --enable" when: not openshift_is_atomic | bool