Merge "Fix ansible running issue on Debian"
This commit is contained in:
commit
bf0e8a8d52
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Looking up disks to bootstrap for Ceph OSDs
|
- name: Looking up disks to bootstrap for Ceph OSDs
|
||||||
command: docker exec -t kolla_toolbox sudo -E /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox sudo -E ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_OSD_BOOTSTRAP' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
-a "partition_name='KOLLA_CEPH_OSD_BOOTSTRAP' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
||||||
register: osd_lookup
|
register: osd_lookup
|
||||||
@ -12,7 +12,7 @@
|
|||||||
osds_bootstrap: "{{ (osd_lookup.stdout.split('localhost | SUCCESS => ')[1]|from_json).disks|from_json }}"
|
osds_bootstrap: "{{ (osd_lookup.stdout.split('localhost | SUCCESS => ')[1]|from_json).disks|from_json }}"
|
||||||
|
|
||||||
- name: Looking up disks to bootstrap for Ceph Cache OSDs
|
- name: Looking up disks to bootstrap for Ceph Cache OSDs
|
||||||
command: docker exec -t kolla_toolbox sudo -E /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox sudo -E ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_OSD_CACHE_BOOTSTRAP' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
-a "partition_name='KOLLA_CEPH_OSD_CACHE_BOOTSTRAP' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
||||||
register: osd_cache_lookup
|
register: osd_cache_lookup
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
- { name: ceph_mon, group: ceph-mon }
|
- { name: ceph_mon, group: ceph-mon }
|
||||||
|
|
||||||
- name: Looking up OSDs for Ceph
|
- name: Looking up OSDs for Ceph
|
||||||
command: docker exec -t kolla_toolbox sudo -E /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox sudo -E ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_DATA' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
-a "partition_name='KOLLA_CEPH_DATA' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
||||||
register: osd_lookup
|
register: osd_lookup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Looking up OSDs for Ceph
|
- name: Looking up OSDs for Ceph
|
||||||
command: docker exec -t kolla_toolbox sudo -E /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox sudo -E ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "partition_name='KOLLA_CEPH_DATA' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
-a "partition_name='KOLLA_CEPH_DATA' match_mode='prefix' use_udev={{ kolla_ceph_use_udev }}"
|
||||||
register: osd_lookup
|
register: osd_lookup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Swift sanity checks
|
- name: Swift sanity checks
|
||||||
command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox ansible localhost
|
||||||
-m kolla_sanity
|
-m kolla_sanity
|
||||||
-a "service=swift
|
-a "service=swift
|
||||||
project=service
|
project=service
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Looking up disks for Swift
|
- name: Looking up disks for Swift
|
||||||
command: docker exec -t kolla_toolbox sudo -E /usr/bin/ansible localhost
|
command: docker exec -t kolla_toolbox sudo -E ansible localhost
|
||||||
-m find_disks
|
-m find_disks
|
||||||
-a "name={{ swift_devices_name }}
|
-a "name={{ swift_devices_name }}
|
||||||
match_mode={{ swift_devices_match_mode }}"
|
match_mode={{ swift_devices_match_mode }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user