local-builder.yaml revision 940b95c9
1---
2- import_playbook: ../common-packer/provision/baseline.yaml
3
4- hosts: all
5  become_user: root
6  become_method: sudo
7
8  pre_tasks:
9    - include_role: name=lfit.system-update
10
11  tasks:
12    - name: 'Install FD.io Required Packages apt'
13      apt:
14        name:
15          - gdb
16          - gdbserver
17          - bridge-utils
18          - texlive-fonts-recommended
19          - tex-common
20          - texlive-base
21          - texlive-binaries
22          - texlive-pictures
23          - texlive-latex-recommended
24          - preview-latex-style
25          - texlive-latex-extra
26          - cloud-initramfs-growroot
27          - cloud-initramfs-rescuevol
28          - libmysqlclient-dev
29          - doxygen
30          - python-pyparsing
31          - asciidoc
32          - dblatex
33          - source-highlight
34          - lcov
35          - gcc-multilib
36          - bison
37          - ccache
38          - dkms
39          - libganglia1-dev
40          - libapr1-dev
41          - libconfuse-dev
42          - exuberant-ctags
43          - cscope
44          - indent
45          - emacs
46          - libxslt-dev
47          - bc
48          - linux-image-extra-virtual
49          - google-mock
50          - debian-xcontrol
51          - pristine-tar
52          - python-sphinx
53          - libstdc++5
54          - python-scapy
55          - inkscape
56          - python-sphinx-rtd-theme
57          - python3-sphinx
58          - libnuma-dev
59          - libibverbs-dev
60          - ruby-dev
61          - zip
62        state: present
63      when: ansible_os_family == 'Debian'
64      become: true
65
66    - name: 'Install FD.io Required Packages yum'
67      yum:
68        name:
69          - apr-devel
70          - asciidoc
71          - autoconf
72          - ccache
73          - dblatex
74          - dkms
75          - epel-rpm-macros
76          - ganglia-devel
77          - glibc-static
78          - kernel-devel
79          - libcap-devel
80          - libconfuse-devel
81          - libconfuse-devel
82          - python-sphinx
83          - redhat-lsb
84          - ruby-devel
85          - scapy
86          - source-highlight
87          - valgrind
88        state: present
89      when: ansible_os_family == 'RedHat'
90      become: true
91
92    - name: 'Install rake gem'
93      command: 'gem install rake'
94      become: true
95
96    - name: 'Install PackageCloud'
97      command: 'gem install package_cloud'
98      become: true
99
100  roles:
101    - lfit.mono-install
102
103  post_tasks:
104    - name: System Reseal
105      script: ../common-packer/provision/system-reseal.sh
106      become: true
107