Merge "Fix ansible running issue on Debian"

This commit is contained in:
Zuul 2017-11-15 11:44:35 +00:00 committed by Gerrit Code Review
commit bf0e8a8d52
5 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 }}"