forked from pulp/pulp_installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
converge.yml
25 lines (25 loc) · 809 Bytes
/
converge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
- hosts: all
pre_tasks:
# The version string below is the highest of all those in roles' metadata:
# "min_ansible_version". It needs to be kept manually up-to-date.
- name: Verify Ansible meets min required version
assert:
that: "ansible_version.full is version_compare('2.8', '>=')"
msg: >
"You must update Ansible to at least 2.8 to use this version of Pulp 3 Installer."
tasks:
- name: Dynamically include prereq roles
include_role:
name: "{{ roleinputvar }}"
loop:
- pulp_redis
- pulp_database
- pulp_workers
- pulp_resource_manager
- pulp_webserver
- pulp_content
loop_control:
loop_var: roleinputvar
environment:
DJANGO_SETTINGS_MODULE: pulpcore.app.settings