ansible/playbooks/manual/communishift.yml
Kevin Fenzi d4bcf3b670 communishift: add communishift-planet for working on new planet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-19 12:32:39 -08:00

47 lines
1.2 KiB
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: Configure the communishift virtualenv
ansible.builtin.pip:
name: "{{ communishift_package }}"
with_items: "{{ communishift_package_list }}"
loop_control:
loop_var: communishift_package
- name: Communishift Role
include_role:
name: communishift
tasks_from: administration-tasks
apply:
tags:
- deploy-operators
- 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:
communishift_package_list:
- kubernetes
- boto3
communishift_projects:
- communishift-dev-test
- communishift-mattdm
- communishift-fedora-review-service
- communishift-planet