Chore: Add missing enchant-2 library
[ci-management.git] / 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'