X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=packer%2Fprovision%2Flocal-docker.yaml;h=c0c0233f2e006c2d156d1dd811cf2f45654c9567;hb=aea673bb5fc4f92297ef3798abdd203157359d08;hp=0d0d86c1bdafd73071edb17928355f6d4e06fd48;hpb=054cdcdbdfa734211213ac9b49c9c7a529f3558e;p=ci-management.git diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index 0d0d86c1b..c0c0233f2 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -152,7 +152,7 @@ become: true when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' - - name: Install supporting packages + - name: Install supporting packages (Ubuntu 18.04) apt: name: - unzip @@ -169,15 +169,31 @@ - crudini - maven - python-ncclient + update_cache: yes + state: fixed + become: true + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' + + - name: Install supporting packages (Ubuntu 20.04) + apt: + name: + - unzip + - xz-utils + - libxml-xpath-perl + - wget + - make + - sshuttle + - netcat + - libssl-dev + - libffi-dev - xmlstarlet - xvfb - crudini - maven - - python-ncclient update_cache: yes state: fixed become: true - when: ansible_distribution == 'Ubuntu' + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' - name: Install npm and addon packages apt: