Merge "Don't fail symlinking puppet modules if directory exists"

This commit is contained in:
Zuul 2020-02-20 17:01:37 +00:00 committed by Gerrit Code Review
commit ce309ed9a9

View File

@ -62,6 +62,10 @@
- name: Symlink puppet modules under /etc/puppet/modules
shell: >-
ln -f -s /usr/share/openstack-puppet/modules/* /etc/puppet/modules/
register: result
failed_when:
- result.rc != 0
- "'cannot overwrite directory' not in result.stderr"
tags:
- skip_ansible_lint