Skip to content

Instantly share code, notes, and snippets.

@logan2211
Created June 30, 2017 13:05
Show Gist options
  • Save logan2211/d73b40d24793fb86402c130ebf596558 to your computer and use it in GitHub Desktop.
Save logan2211/d73b40d24793fb86402c130ebf596558 to your computer and use it in GitHub Desktop.
user_packages.yml
#reduced set of apt packages and kernel modules for LSN hosts
openstack_host_kernel_modules:
- br_netfilter
- 8021q
- dm_snapshot
- ip6table_filter
- ip6_tables
- ip_tables
- ipt_MASQUERADE
- ipt_REJECT
- iptable_filter
- iptable_mangle
- iptable_nat
- ip_vs
- nf_conntrack
- nf_conntrack_ipv4
- nf_defrag_ipv4
- nf_nat
- nf_nat_ipv4
- vhost_net
- x_tables
openstack_host_distro_packages:
- apt-transport-https
- bridge-utils
- cgroup-lite
- curl
- iptables
- libkmod2
- lvm2
- rsyslog
- sysstat
- time
- vlan
- wget
haproxy_distro_packages:
- haproxy
- hatop
- vim-haproxy
- fping
- psmisc
- rsyslog
# bash is used in the conditional else because an empty string is not accepted
# and we know bash will always be installed on all our systems.
galera_client_distro_packages:
- mariadb-client
- "{{ 'libmariadbclient-dev' if 'repo_all' in group_names else 'bash' }}"
- "{{ 'build-essential' if 'repo_all' in group_names else 'bash' }}"
- "{{ 'python-dev' if 'repo_all' in group_names else 'bash' }}"
- "{{ 'libssl-dev' if 'repo_all' in group_names else 'bash' }}"
nova_distro_packages:
- genisoimage
# We add git here since it is needed to clone novnc, but it is removed from the
# nova_distro_packages above so we don't install it on all nodes.
nova_novnc_distro_packages:
- git
- libjs-jquery
- libjs-sphinxdoc
- libjs-underscore
- libjs-swfobject
- "{{ 'librabbitmq1' if ansible_distribution_release == 'trusty' else 'librabbitmq4' }}"
- libyaml-0-2
nova_compute_kvm_distro_packages:
- bridge-utils
- genisoimage
- kpartx
- libvirt-bin
- python-libvirt
- qemu
- qemu-utils
- sysfsutils
- vlan
- nfs-common
- dosfstools
neutron_distro_packages:
- conntrack
- dnsmasq-base
- dnsmasq-utils
- ipset
- iputils-arping
- ebtables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment