blob: bea2bb85bb8ac0c0381532744b5c42b567aa1729 [file] [log] [blame]
---
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
- name: ensure Ansible version is >= 2.9 if ADLS Gen2 is to be used
assert:
quiet: yes
that: ansible_version.full is version('2.9.0', '>=')
fail_msg: "Ansible 2.9 or above is required for using Azure ADLS Gen2 in Muchos.
Update it using pip install --upgrade ansible[azure]"
when: use_adlsg2
- import_tasks: create_vmss.yml
- import_tasks: create_adlsgen2.yml
when: use_adlsg2
- import_tasks: create_log_analytics_ws.yml
when: az_oms_integration_needed and (az_logs_id is not defined or (not az_logs_id) or az_logs_id == None)