Skip to content

Commit 5d0c75c

Browse files
authored
Merge pull request #601 from npawelek/INSIGHTS-306
Add type to deploy_osp option in ceph_osd_host_facts module
2 parents d8bc795 + aaecc91 commit 5d0c75c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

playbooks/library/ceph_osd_host_facts

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ def main():
8181
),
8282
deploy_osp=dict(
8383
required=False,
84-
default=False
84+
default=False,
85+
type='bool'
8586
)
8687
),
8788
supports_check_mode=False

playbooks/maas-ceph-osd.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- name: Include OSP vars
2121
include_vars: vars/maas-osp.yml
2222
when:
23-
- deploy_osp | default(False)
23+
- deploy_osp | default(False)
2424

2525
- include: "common-tasks/maas_excluded_regex.yml"
2626
- name: Set the current group
@@ -56,7 +56,7 @@
5656
- deploy_osp | default(False)
5757
register: osd_container_name
5858

59-
- name: Set container name for osp template
59+
- name: Set container name for osp template
6060
set_fact:
6161
container_name: "{{ osd_container_name.stdout | trim }}"
6262
when:
@@ -67,7 +67,7 @@
6767
ceph_osd_host_facts:
6868
hostname: "{{ ansible_hostname }}"
6969
container_name: "{{ container_name | default(inventory_hostname) }}"
70-
deploy_osp: "{{ deploy_osp | default(False) }}"
70+
deploy_osp: "{{ deploy_osp | default(False) }}"
7171
tags:
7272
- always
7373

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Add boolean type for deploy_osp in custom OSD fact gathering module.

0 commit comments

Comments
 (0)