Moved 'file' package installation from Molecule's
'prepare' stage to Dockerfile to shorten the test
invocation.
Change-Id: Icbb805c54a4fd42003d0cde037fa56208bd6008a
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
---
-app_data_path: /opt/myleculeapp
+app_data_path: /opt/moleculeapp
aux_data_path: "{{ app_data_path }}/runtime_images_source_dir"
resources_dir: /data
resources_filename: resources_package.tar
RUN yum -y update && yum clean all
RUN yum -y install openssh-server sudo openssh-clients \
- epel-release python-docker-py iproute e2fsprogs
+ epel-release python-docker-py iproute e2fsprogs file
RUN systemctl enable sshd.service
VOLUME ["/run"]
name: nfs-utils
state: present
when:
- - resources_on_nfs is defined
- resources_on_nfs
---
-- name: Install file exacutable if not there for archive compression checking
- package:
- name: file
- state: present
-
- name: "Create resource dir {{ resources_dir }}"
file:
path: "{{ resources_dir }}/{{ subdir }}"
- name: Export nfs
command: exportfs -ar
when:
- - resources_on_nfs is defined
- resources_on_nfs