Chore: Add missing enchant-2 library 94/131394/4
authorBengt Thuree <bthuree@linuxfoundation.org>
Fri, 7 Oct 2022 00:17:11 +0000 (11:17 +1100)
committerBengt Thuree <bthuree@linuxfoundation.org>
Wed, 12 Oct 2022 21:07:58 +0000 (08:07 +1100)
Needed for ONAP Doc team

Issue-ID: CIMAN-33
Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org>
Change-Id: If3820546f7f137985d7e57b540a478e0505d7ff8

packer/provision/local-builder.yaml

index 21af013..4882fff 100644 (file)
       become: true
       when: ansible_distribution == 'Ubuntu'
 
+    - name: Install enchant2 package for Ubuntu
+      apt:
+        name:
+          - enchant-2
+        update_cache: yes
+        state: present
+      become: true
+      when: ansible_distribution == 'Ubuntu'
 
+    - name: Install enchant2 package for CentOS
+      dnf:
+        name:
+          - enchant2
+        update_cache: yes
+        state: present
+      become: true
+      when: ansible_distribution == 'CentOS'