Merge "Don't fail symlinking puppet modules if directory exists"
This commit is contained in:
commit
ce309ed9a9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user