Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. - name: Check if service x is running
  2. systemd:
  3. name: x
  4. status: started
  5. register: service_x_running
  6.  
  7. - name: Run multipath command when service is not running
  8. command: multipath -r
  9. when: service_x_running is not changed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement