]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
nfs: fix 2 typo
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 30 Apr 2020 14:21:14 +0000 (16:21 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 6 May 2020 15:10:08 +0000 (11:10 -0400)
commitcf460274c7489940968fed176c113ad473b22f4d
treeafee39d6c2697bb092061e3a825c5fe69bc9bc7f
parented4f23d5303f62c814796835ecfad637678641be
nfs: fix 2 typo

The condition is missing an index here which makes the playbook failing.

Typical error:
```
The conditional check 'not item.get('skipped', False)' failed. The error was: error while evaluating conditional (not item.get('skipped', False)): 'list object' has no attribute 'get'",
```

Also, adds the missing '/keyring' on the `exec_cmd_nfs` fact.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1831342
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-nfs/tasks/main.yml
roles/ceph-nfs/tasks/start_nfs.yml