]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
f; try to explain how packages and common_packages work
authorAndrew Schoen <aschoen@redhat.com>
Wed, 15 Jul 2015 21:18:52 +0000 (16:18 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 16 Jul 2015 14:49:36 +0000 (09:49 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/testnode/README.rst

index aff1d110f943ef3cbcdb5f6ea1de2c2d5c67e5bc..5b688fff139c55a6f8a5051e4999ee4c8f3d1281 100644 (file)
@@ -103,6 +103,11 @@ A list of packages to install that are common to a distro or distro version. The
 
     common_packages: []
 
+**NOTE:** A good example of how ``packages`` and ``common_packages`` work together is with Ubuntu. The var file ``roles/testnode/vars/ubuntu.yml`` define
+a number of packages in ``common_packages`` that need to be installed across all versions of ubuntu.  While the version specific files
+(for example, ``roles/testnode/vars/ubuntu_14.yml``) define packages in ``packages`` that either have varying names across version or are only needed
+for that specific version. This is the same idea behind the vars that control apt and yum repos as well.
+
 A list of packages to remove. These lists are defined in the var files in ``vars/``::
 
     packages_to_remove: []