Create /var/lib/oozie if it does not exist.

This commit is contained in:
Andrea Dell'Amico 2020-07-21 20:27:49 +02:00
parent 133c44f91c
commit aad2e08c11
1 changed files with 4 additions and 1 deletions

View File

@ -3,8 +3,11 @@
- name: Get the Oozie external libraries needet to activate the web console
get_url: url={{ cdh_oozie_ext_libs_url }} dest=/srv/
- name: Create the oozie destination directory if does not exist
file: dest=/var/lib/oozie state=directory
- name: Unarchive the Oozie ext libraries needed to activate the web console
unarchive: remote_src=yes src=/srv/ext-2.2.zip dest=/var/lib/oozie owner=oozie group=oozie
unarchive: remote_src=yes src=/srv/ext-2.2.zip dest=/var/lib/oozie
args:
creates: /var/lib/oozie/ext2.2