Hi All..
I ve a very 2 very basic task of enabling multipath.
The 2 task is failing since the first one is not enabling. But in ansible job it is showing as changed but when I checked multipath service in system it is showing as Below:
Active: inactive(dead)
Condition: start condition failed
|- ConditionPathExists=/etc/multipath.conf was not met
Tasks
———-
- name: confirm multipathd is enabled
service: multipathd
state: started
enable: yes
- name: check default polling interval
shell: multipathd list config | awk ‘/defaults {/,/}’|grep -w polling_interval
register: polling_interval
changed_when: false
Please suggest why ansible not able to enable multipath service correctly..
Regards