]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Ensure cobbler and httpd are started *and* enabled
authorZack Cerza <zack@redhat.com>
Fri, 5 Jun 2015 18:21:04 +0000 (12:21 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 29 Jun 2015 22:37:06 +0000 (16:37 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/cobbler/tasks/main.yml

index 9687145226f163bc53350bfda17697c5217026d5..9afd8f11be255bb21369d975e76153a654e720ba 100644 (file)
   service:
     name: "{{ cobbler_service }}"
     state: started
+    enabled: yes
+
+- name: Start httpd
+  service:
+    name: "{{ httpd_service }}"
+    state: started
+    enabled: yes
 
 - name: Update settings
   include: settings.yml
     state: restarted
   changed_when: false
 
-- name: Start httpd
-  service:
-    name: "{{ httpd_service }}"
-    state: started
-
 - include: populate_systems.yml
   tags:
     - systems