X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Flocal-builder.yaml;h=fa969d51f8fcfc6b340de1f17dabfc05eae26eee;hb=737eca2056b46ce680e42fee619bdf244b022268;hp=4882fffb5bc2422d69c87cc5d7eb35385f30b536;hpb=fb285eb982fa35d9fbebc971cf1a733d426b0dfc;p=ci-management.git diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 4882fffb5..fa969d51f 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -139,14 +139,23 @@ become: true when: ansible_distribution == 'Ubuntu' - - name: Install enchant2 package for Ubuntu + - name: Install enchant2 package for Ubuntu 20.04 apt: name: - enchant-2 update_cache: yes state: present become: true - when: ansible_distribution == 'Ubuntu' + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' + + - name: Install enchant package for Ubuntu 18.04 + apt: + name: + - enchant + update_cache: yes + state: present + become: true + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' - name: Install enchant2 package for CentOS dnf: