2022-08-09 14:52:04 +01:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
|
|
|
user: root
|
2022-08-11 14:03:04 +01:00
|
|
|
gather_facts: false
|
2022-08-09 14:52:04 +01:00
|
|
|
|
2022-08-11 12:21:10 +01:00
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- "/srv/private/ansible/vars.yml"
|
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
2022-08-11 14:03:04 +01:00
|
|
|
tasks:
|
|
|
|
- name: Communishift Role
|
|
|
|
with_items: "{{ communishift_projects }}"
|
|
|
|
include_role:
|
|
|
|
name: communishift
|
|
|
|
tasks_from: main
|
|
|
|
apply:
|
|
|
|
tags:
|
|
|
|
- create_efs
|
2022-08-11 14:21:35 +01:00
|
|
|
vars:
|
2022-08-16 14:37:53 +01:00
|
|
|
communishift_project_name: "{{ outer_item }}"
|
|
|
|
loop_control:
|
|
|
|
loop_var: outer_item
|
2022-08-11 14:03:04 +01:00
|
|
|
vars:
|
2022-08-11 14:32:16 +01:00
|
|
|
ansible_python_interpreter: "/usr/bin/python"
|
2022-08-11 14:03:04 +01:00
|
|
|
communishift_projects:
|
|
|
|
- communishift-dev-test
|