Skip to content
Snippets Groups Projects
Commit bdc9d255 authored by caoyuan's avatar caoyuan
Browse files

Move swift service conflicted check into precheck.yml

the precheck action should better move in precheck.yml

Change-Id: I233cc73e7c16dd0d7f98338966d964417da7d0ad
parent 39290714
No related branches found
No related tags found
No related merge requests found
...@@ -15,3 +15,8 @@ ...@@ -15,3 +15,8 @@
when: when:
- container_facts['ceph_rgw'] is not defined - container_facts['ceph_rgw'] is not defined
- inventory_hostname in groups['ceph-rgw'] - inventory_hostname in groups['ceph-rgw']
- name: Check whether the swift service is enabled
local_action: fail msg='Ceph-rgw-keystone is conflicts with swift, you should only enable one of them'
when: enable_swift | bool
run_once: True
--- ---
- name: Check whether the swift service is enabled
local_action: fail msg='Ceph-rgw-keystone is conflicted with swift, you should only enable one of them'
when: enable_swift | bool
run_once: True
- name: Creating the Swift service and endpoint - name: Creating the Swift service and endpoint
kolla_toolbox: kolla_toolbox:
module_name: kolla_keystone_service module_name: kolla_keystone_service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment