summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorBengt Thuree <bthuree@linuxfoundation.org>2022-10-07 11:17:11 +1100
committerBengt Thuree <bthuree@linuxfoundation.org>2022-10-13 08:07:58 +1100
commitfb285eb982fa35d9fbebc971cf1a733d426b0dfc (patch)
treeb1cae9bb4743543ee668936479244ebcf75b7ec1 /packer
parent5b1dbabddc04a08ca23d4f67de57dd065c03abc4 (diff)
Chore: Add missing enchant-2 library
Needed for ONAP Doc team Issue-ID: CIMAN-33 Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Change-Id: If3820546f7f137985d7e57b540a478e0505d7ff8
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/local-builder.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml
index 21af01364..4882fffb5 100644
--- a/packer/provision/local-builder.yaml
+++ b/packer/provision/local-builder.yaml
@@ -139,4 +139,20 @@
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'