yum_repos: {}
# list of packages to install
-packages:
- - yum-plugin-priorities
- - redhat-lsb
- - sysstat
- - gdb
- - python-configobj
- - libedit
- - openssl098e
- - gperftools-devel
- - boost-thread
- - xfsprogs
- - xfsprogs-devel
- - gdisk
- - parted
- - libgcrypt
- - cryptopp-devel
- - cryptopp
- - fuse
- - fuse-libs
- - openssl
- - libuuid
- - btrfs-progs
- - attr
- - valgrind
- - python-nose
- - mpich
- - ant
- - dbench
- - fuse-sshfs
- - lsof
- - iozone
- - libtool
- - automake
- - gettext
- - libuuid-devel
- - libacl-devel
- - bc
- - xfsdump
- - blktrace
- - numpy
- - python-matplotlib
- - usbredir
- - genisoimage
- - qemu-img-rhev-1.5.3-60_ceph.el7.5
- - qemu-kvm-rhev-1.5.3-60_ceph.el7.5
- - qemu-kvm-tools-rhev-1.5.3-60_ceph.el7.5
- - httpd
- - httpd-devel
- - httpd-tools
- - mod_ssl
- - mod_fastcgi-2.4.7-1.ceph.el7
- - python-pip
- - libevent-devel
- - perl-JSON-XS
- - perl-XML-Twig
- - java-1.6.0-openjdk-devel
- - junit4
- - scsi-target-utils
- - iscsi-initiator-utils
- - smartmontools
- - nfs-utils
+# packages are defined in the pkg manager
+# specific var files.
+packages: []
tags:
- remove-ceph
+# I added this because when using --tags "packages" the
+# next task will just be skipped because packages == []
+# which is probably an unexpected behavior if you're meaning to
+# install packages.
+- name: Fail the play if the var packages is not defined
+ fail:
+ msg: "The var packages is not defined,
+ perhaps you've forgot to include 'vars' in your
+ tag list if using --tags. Otherwise, check to see
+ if packages needs defining for your specific host."
+ when: packages|length == 0
+
- name: Install packages
yum:
name: "{{ item }}"
---
ntp_service_name: ntpd
+# ceph packages that we ensure do not exist
ceph_packages:
- ceph
- ceph-common
- python-ceph
- librbd1
- librados2
+
+# packages to be installed
+# we might need to separate this
+# into distro specific lists at some point
+packages:
+ - yum-plugin-priorities
+ - redhat-lsb
+ - sysstat
+ - gdb
+ - python-configobj
+ - libedit
+ - openssl098e
+ - gperftools-devel
+ - boost-thread
+ - xfsprogs
+ - xfsprogs-devel
+ - gdisk
+ - parted
+ - libgcrypt
+ - cryptopp-devel
+ - cryptopp
+ - fuse
+ - fuse-libs
+ - openssl
+ - libuuid
+ - btrfs-progs
+ - attr
+ - valgrind
+ - python-nose
+ - mpich
+ - ant
+ - dbench
+ - fuse-sshfs
+ - lsof
+ - iozone
+ - libtool
+ - automake
+ - gettext
+ - libuuid-devel
+ - libacl-devel
+ - bc
+ - xfsdump
+ - blktrace
+ - numpy
+ - python-matplotlib
+ - usbredir
+ - genisoimage
+ - qemu-img-rhev-1.5.3-60_ceph.el7.5
+ - qemu-kvm-rhev-1.5.3-60_ceph.el7.5
+ - qemu-kvm-tools-rhev-1.5.3-60_ceph.el7.5
+ - httpd
+ - httpd-devel
+ - httpd-tools
+ - mod_ssl
+ - mod_fastcgi-2.4.7-1.ceph.el7
+ - python-pip
+ - libevent-devel
+ - perl-JSON-XS
+ - perl-XML-Twig
+ - java-1.6.0-openjdk-devel
+ - junit4
+ - scsi-target-utils
+ - iscsi-initiator-utils
+ - smartmontools
+ - nfs-utils