diff options
| author | Mauricio Lima <mauriciolimab@gmail.com> | 2016-11-11 14:51:14 -0300 |
|---|---|---|
| committer | Andrew Widdersheim <amwiddersheim@gmail.com> | 2016-11-11 14:33:26 -0500 |
| commit | 7bb88390d88aebfc257e09e7e055a09fe4121782 (patch) | |
| tree | 50c5088a3013a963dd7565d402b7fc0b4ed36f8f /tools/pre-commit-hook | |
| parent | 9099b8be4d019277d3ac26f813ee3316c43c04fd (diff) | |
| download | kolla-7bb88390d88aebfc257e09e7e055a09fe4121782.tar.gz kolla-7bb88390d88aebfc257e09e7e055a09fe4121782.zip | |
Fix copying nfs_shares configuration4.0.0.0b1
Using the `when` conditional on a `with_` loop gets evaluated on each
loop iteration and will not skip a task entirely. Use the `skip`
attribute to ignore errors in this scenario but only `skip` when
`enable_cinder_backend_nfs` is not enabled. If it is enabled the
`nfs_shares` file should be required and this task should fail if it
does not exist.
Co-authored-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Change-Id: I6b997dd943efe7b16beb63899c1488fa5353d996
Closes-Bug: #1641183
Diffstat (limited to 'tools/pre-commit-hook')
0 files changed, 0 insertions, 0 deletions
