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
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAEuB3Aq8yJc1%2BRic9HHEzmKYcFcfQxXQJ%2Bo-97vJ7vzMD5%3DMEQ%40mail.gmail.com.