ceph-ansible/roles
Guillaume Abrioux 709deb90cc handler: refact check_socket_non_container
the `stat --printf=%n` returns something like following:

```
ok: [osd0] => changed=false
  cmd: |-
    stat --printf=%n /var/run/ceph/ceph-osd*.asok
  delta: '0:00:00.009388'
  end: '2020-10-06 06:18:28.109500'
  failed_when_result: false
  rc: 0
  start: '2020-10-06 06:18:28.100112'
  stderr: ''
  stderr_lines: <omitted>
  stdout: /var/run/ceph/ceph-osd.2.asok/var/run/ceph/ceph-osd.5.asok
  stdout_lines: <omitted>
```

it makes the next task "check if the ceph osd socket is in-use" grep
like this:

```
ok: [osd0] => changed=false
  cmd:
  - grep
  - -q
  - /var/run/ceph/ceph-osd.2.asok/var/run/ceph/ceph-osd.5.asok
  - /proc/net/unix
```

which will obviously fail because this path never exists. It makes the
OSD handler broken.

Let's use `find` module instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 46d4d97da9)
2020-10-14 10:31:05 +02:00
..
ceph-client Allow updating crush rule on existing pool 2020-09-10 20:35:44 -04:00
ceph-common Add CentOS 8 support for rpm deployment 2020-09-10 20:38:34 -04:00
ceph-config ceph-config: remove ceph_release from ceph.conf.j2 2020-09-29 16:32:17 +02:00
ceph-container-common container: quote registry password 2020-09-18 15:21:32 -04:00
ceph-container-engine container: add optional http(s) proxy option 2020-09-16 11:32:24 -04:00
ceph-crash Fix Ansible check mode for site.yml.sample playbook 2020-10-07 07:06:54 +02:00
ceph-dashboard Revert "Make 'disable ssl for dashboard task' idempotent." 2020-09-11 09:37:23 -04:00
ceph-defaults facts: refact `ceph_uid` fact 2020-09-21 13:49:03 -04:00
ceph-facts ceph-facts: add get default crush rule from running monitor 2020-09-29 16:38:38 +02:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-grafana dashboard: allow remote TLS cert/key copy 2020-08-04 14:02:27 +02:00
ceph-handler handler: refact check_socket_non_container 2020-10-14 10:31:05 +02:00
ceph-infra ceph-infra: include iscsi nodes for logrotate 2020-09-17 14:49:56 -04:00
ceph-iscsi-gw infra: support log rotation for tcmu-runner 2020-09-16 22:37:18 -04:00
ceph-mds mds: support enabling pg autoscaler on rerun 2020-09-29 16:32:29 +02:00
ceph-mgr Fix Ansible check mode for site.yml.sample playbook 2020-10-07 07:06:54 +02:00
ceph-mon Fix Ansible check mode for site.yml.sample playbook 2020-10-07 07:06:54 +02:00
ceph-nfs Remove libjemalloc1 installation task 2020-09-29 16:30:36 +02:00
ceph-node-exporter podman: always remove container on start 2020-07-24 12:47:21 -04:00
ceph-osd Fix Ansible check mode for site.yml.sample playbook 2020-10-07 07:06:54 +02:00
ceph-prometheus ceph-prometheus: update pool stat counter 2020-09-16 10:08:54 -04:00
ceph-rbd-mirror podman: always remove container on start 2020-07-24 12:47:21 -04:00
ceph-rgw Fix Ansible check mode for site.yml.sample playbook 2020-10-07 07:06:54 +02:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-09-10 20:38:01 -04:00
ceph-validate ansible: bump to ansible 2.9 2020-09-15 13:13:09 -04:00