]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
add-osds: followup on 3632b26
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Oct 2018 11:57:09 +0000 (13:57 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 17 Oct 2018 15:07:25 +0000 (17:07 +0200)
Three fixes:

- fix a typo in vagrant_variables that cause a networking issue for
containerized scenario.
- add containerized_deployment: true
- remove a useless block of code: the fact docker_exec_cmd is set in
ceph-defaults which is played right after.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/add-osd.yml
tests/functional/centos/7/add-osds-container/group_vars/all
tests/functional/centos/7/add-osds-container/vagrant_variables.yml

index 4a99cd380637a76bf2efca67f80f01f016b6f09b..edf15ebc55faa16a38529bfe460b83772fba21cc 100644 (file)
     - ceph-defaults
     - ceph-validate
 
-- hosts: "{{ groups['mons'][0] }}"
-  gather_facts: False
-  become: True
-
-  roles:
-    - role: ceph-defaults
-    - role: ceph-fetch-keys
-
-  post_tasks:
-    - name: set_fact docker_exec_cmd if containerized_deployment
-      set_fact:
-        docker_exec_cmd: "docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}"
-      when: containerized_deployment
-
 - hosts: osds
   gather_facts: False
   become: True
index c5e1575ea982fada44b5344c7738a46850d3b900..9b1a6c3a5d2b50ec60631dcc8c6647fa2bac8660 100644 (file)
@@ -1,6 +1,8 @@
 ---
+docker: True
 ceph_origin: repository
 ceph_repository: community
+containerized_deployment: true
 cluster: ceph
 public_network: "192.168.55.0/24"
 cluster_network: "192.168.56.0/24"
index 1e72ca2fb737dabbb3510b9699f59fa4d35cfffc..67b12249641058ab969cf702f19caac7d79795d1 100644 (file)
@@ -22,7 +22,7 @@ restapi: true
 ceph_install_source: stable
 
 # SUBNETS TO USE FOR THE VMS
-public_subnet: 192.168.53
+public_subnet: 192.168.55
 cluster_subnet: 192.168.56
 
 # MEMORY