Suppress warning about using ln

Because we want to symlink a bunch of directories, letting ln figure out
what links to create is vastly more efficient than doing it in ansible.
So let's silence the warning about using the file module instead.

Change-Id: Iba71312ae7598ab5c4a50245d49710efd97c8053
This commit is contained in:
Alex Schultz 2020-05-08 16:33:33 -06:00
parent 801c11ca02
commit ca0f6bb09a
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@
- name: Symlink puppet modules under /etc/puppet/modules
shell: >-
ln -f -s /usr/share/openstack-puppet/modules/* /etc/puppet/modules/
args:
warn: false
register: result
failed_when: false
tags: