diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2018-12-13 15:27:30 -0600 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-02-14 09:37:03 -0600 |
commit | 8f21aceb65b0ec2709a36df69d88a05e91e75eb4 (patch) | |
tree | 9296ffae8ec5a08ef8f15dafb2975c8d2ec1b9af | |
parent | 402e5f7c341caffeab282830c78d334ffc41c952 (diff) |
Configure packer install
Configuring packer to install based on distribution version
Change-Id: I4696971de718ec246d1d1b08545644ca18016ba8
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
-rw-r--r-- | packer/provision/local-builder.yaml | 62 |
1 files changed, 59 insertions, 3 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 20658d3a1..d33290ead 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -9,7 +9,7 @@ - include_role: name=lfit.system-update tasks: - - name: 'Install FD.io Required Packages apt' + - name: 'Install FD.io Required 16.04 Packages' apt: name: - gdb @@ -60,10 +60,66 @@ - ruby-dev - zip state: present - when: ansible_os_family == 'Debian' + # yamllint disable-line rule:line-length + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04' become: true - - name: 'Install FD.io Required Packages yum' + - name: 'Install FD.io Required 18.04 Packages' + apt: + name: + - gdb + - gdbserver + - bridge-utils + - texlive-fonts-recommended + - tex-common + - texlive-base + - texlive-binaries + - texlive-pictures + - texlive-latex-recommended + - preview-latex-style + - texlive-latex-extra + - cloud-initramfs-growroot + - cloud-initramfs-rescuevol + - libmysqlclient-dev + - doxygen + - python-pyparsing + - asciidoc + - dblatex + - source-highlight + - lcov + - gcc-multilib + - bison + - ccache + - dkms + - libganglia1-dev + - libapr1-dev + - libconfuse-dev + - exuberant-ctags + - cscope + - indent + - emacs + - libxslt-dev + - bc + - linux-image-extra-virtual + - google-mock + - debian-xcontrol + - pristine-tar + - python-sphinx + - libstdc++5 + - python-scapy + - inkscape + - python-sphinx-rtd-theme + - python3-sphinx + - libnuma-dev + - libibverbs-dev + - ruby-dev + - zip + state: present + # yamllint disable-line rule:line-length + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' + become: true + + - name: 'Install FD.io Required CentOS 7 Packages' yum: name: - apr-devel |