- inventory_hostname in play_hosts
- name: restart ceph mon daemon(s) - non container
- command: /tmp/restart_mon_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mon_daemon.sh
listen: "restart ceph mons"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph mon daemon(s) - container
- command: /tmp/restart_mon_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mon_daemon.sh
listen: "restart ceph mons"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph osds daemon(s) - non container
- command: /tmp/restart_osd_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_osd_daemon.sh
listen: "restart ceph osds"
when:
- osd_group_name in group_names
delegate_to: "{{ item }}"
- name: restart ceph osds daemon(s) - container
- command: /tmp/restart_osd_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_osd_daemon.sh
listen: "restart ceph osds"
when:
# We do not want to run these checks on initial deployment (`socket_osd_container_stat.results[n].rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph mds daemon(s) - non container
- command: /tmp/restart_mds_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mds_daemon.sh
listen: "restart ceph mdss"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph mds daemon(s) - container
- command: /tmp/restart_mds_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mds_daemon.sh
listen: "restart ceph mdss"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph rgw daemon(s) - non container
- command: /tmp/restart_rgw_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_rgw_daemon.sh
listen: "restart ceph rgws"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph rgw daemon(s) - container
- command: /tmp/restart_rgw_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_rgw_daemon.sh
listen: "restart ceph rgws"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph nfs daemon(s) - non container
- command: /tmp/restart_nfs_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_nfs_daemon.sh
listen: "restart ceph nfss"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph nfs daemon(s) - container
- command: /tmp/restart_nfs_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_nfs_daemon.sh
listen: "restart ceph nfss"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph rbd mirror daemon(s) - non container
- command: /tmp/restart_rbd_mirror_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_rbd_mirror_daemon.sh
listen: "restart ceph rbdmirrors"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph rbd mirror daemon(s) - container
- command: /tmp/restart_rbd_mirror_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_rbd_mirror_daemon.sh
listen: "restart ceph rbdmirrors"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
- inventory_hostname in play_hosts
- name: restart ceph mgr daemon(s) - non container
- command: /tmp/restart_mgr_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mgr_daemon.sh
listen: "restart ceph mgrs"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)
delegate_to: "{{ item }}"
- name: restart ceph mgr daemon(s) - container
- command: /tmp/restart_mgr_daemon.sh
+ command: /usr/bin/env bash /tmp/restart_mgr_daemon.sh
listen: "restart ceph mgrs"
when:
# We do not want to run these checks on initial deployment (`socket.rc == 0`)