Signed-off-by: David Kirwan <dkirwan@redhat.com> Signed-off-by: Lenka Segura <lsegura@redhat.com> Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
27 lines
667 B
YAML
27 lines
667 B
YAML
---
|
|
- hosts: localhost
|
|
user: root
|
|
gather_facts: false
|
|
|
|
vars_files:
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
- "/srv/private/ansible/vars.yml"
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
tasks:
|
|
- name: Communishift Role
|
|
with_items: "{{ communishift_projects }}"
|
|
include_role:
|
|
name: communishift
|
|
tasks_from: main
|
|
apply:
|
|
tags:
|
|
- create_efs
|
|
vars:
|
|
communishift_project_name: "{{ outer_item }}"
|
|
loop_control:
|
|
loop_var: outer_item
|
|
vars:
|
|
ansible_python_interpreter: "/usr/bin/python"
|
|
communishift_projects:
|
|
- communishift-dev-test
|