]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Shuffle tasks around to make sure packages install first 343/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 5 Oct 2017 20:13:31 +0000 (16:13 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 5 Oct 2017 20:13:31 +0000 (16:13 -0400)
I moved lvm.conf in https://github.com/ceph/ceph-cm-ansible/pull/342
because I wanted all the disk management tasks clustered together.  I
failed to take into account the fact that the lvm2 package might not be
installed yet (like on OVH nodes).

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/main.yml

index 5f51156632433a08af0d8e749fe4b2effbdf9f10..da7163f4aba8f06cf291c81d5948761e77d91948 100644 (file)
   tags:
     - hostname
 
-- include: zap_disks.yml
-  tags:
-    - zap
-
-- name: partition drives, if any are requested
-  include: drive_partitioning.yml
-  when: drives_to_partition is defined
-  tags:
-    - partition
-
-- name: set up LVM
-  include: lvm.yml
-  tags:
-    - lvm
-
-- name: mount /var/lib/ceph to specified partition
-  include: var_lib.yml
-  when: var_lib_partition is defined
-  tags:
-    - varlib
-
 - name: configure ssh
   include: ssh.yml
   tags:
   include: setup-debian.yml
   when: ansible_distribution == "Debian"
 
+- include: zap_disks.yml
+  tags:
+    - zap
+
+- name: partition drives, if any are requested
+  include: drive_partitioning.yml
+  when: drives_to_partition is defined
+  tags:
+    - partition
+
+- name: set up LVM
+  include: lvm.yml
+  tags:
+    - lvm
+
+- name: mount /var/lib/ceph to specified partition
+  include: var_lib.yml
+  when: var_lib_partition is defined
+  tags:
+    - varlib
+
 # Install and configure cpan and Amazon::S3
 - include: cpan.yml
   tags: