Ignore mode warning for unarchive

We added "mode: preserve" to the unarchive task to make the linter
happy, but it seems that it does not work as advertised as it
gives an error that "preserve" is an invalid value.

Change-Id: I0a9136857229411101028928948b69ad0f4ad921
This commit is contained in:
Douglas Mendizábal 2020-09-01 14:30:30 -05:00
parent 99dc088753
commit 1f79d940a6
1 changed files with 1 additions and 2 deletions

View File

@ -11,11 +11,10 @@
dest: "{{ lunasa_client_working_dir }}/{{ lunasa_client_tarball_name }}" dest: "{{ lunasa_client_working_dir }}/{{ lunasa_client_tarball_name }}"
force: no force: no
- name: Unpack tarball to working directory - name: Unpack tarball to working directory # noqa 208
unarchive: unarchive:
src: "{{ lunasa_client_working_dir }}/{{ lunasa_client_tarball_name }}" src: "{{ lunasa_client_working_dir }}/{{ lunasa_client_tarball_name }}"
dest: "{{ lunasa_client_working_dir }}" dest: "{{ lunasa_client_working_dir }}"
mode: preserve
creates: "{{ lunasa_client_working_dir }}/{{ lunasa_client_installer_path }}" creates: "{{ lunasa_client_working_dir }}/{{ lunasa_client_installer_path }}"
remote_src: yes remote_src: yes