blob: 5650844751b1f95502449336e1be477da193ca37 [file] [log] [blame]
---
#
# Licensed 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.
#
- hosts: component_group_name
gather_facts: yes
become: yes
tasks:
- name: Load environment specific vars
include_vars:
file: "{{ lookup('env', 'PWD') }}/ansible/vars.yml"
- name: Load environment specific vault
include_vars:
file: "{{ lookup('env', 'PWD') }}/ansible/vault"
no_log: true
# Any implementation specific pre-tasks go here
- name: Deploy Component
import_role:
name: generic_core_role
vars:
install_component: true
component_to_url: "{{ to_url }}"
component_var1: 80
component_var2: 443
# Any implementation specific post-tasks go here