]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs when installing rhs on debian
authorAlfredo Deza <adeza@redhat.com>
Fri, 12 Aug 2016 15:29:39 +0000 (11:29 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 15 Aug 2016 15:24:37 +0000 (11:24 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: issue#811

roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml

index 8bc5452a93e94f86cc5e7d39ea965f18fd3c3f6d..b82ca8833aa1e0b80607f860f8906365f0ad8ee5 100644 (file)
@@ -5,15 +5,15 @@
 # intelligent way to determine the location of the key.
 - name: install the rh ceph storage repository key
   apt_key:
-    file: "{{ ceph_stable_rh_storage_repository_path }}/MON/release.asc"
+    file: "{{ ceph_rhcs_repository_path }}/MON/release.asc"
     state: present
   when:
-    - ceph_stable_rh_storage
-    - ceph_stable_rh_storage_iso_install
+    - ceph_rhcs
+    - ceph_rhcs_iso_install
 
 - name: add rh ceph storage repositories
   apt_repository:
-    repo: "deb file://{{ ceph_stable_rh_storage_repository_path }}/{{ item }}/ {{ ansible_lsb.codename }} main"
+    repo: "deb file://{{ ceph_rhcs_repository_path }}/{{ item }}/ {{ ansible_lsb.codename }} main"
     state: present
   changed_when: false
   with_items:
     - "Tools"
     - "Agent"
   when:
-    - ceph_stable_rh_storage
-    - ceph_stable_rh_storage_iso_install
+    - ceph_rhcs
+    - ceph_rhcs_iso_install
 
 - name: add the red hat storage apt-key
   apt_key:
     data: "{{ lookup('file', role_path+'/files/cephstablerhcs.asc') }}"
     state: present
-  when: not ceph_stable_rh_storage_iso_install
+  when: not ceph_rhcs_iso_install
 
 - name: install dependencies
   apt: