
Both include_role and import_role expect role's name to be given via "name" param instead of "role". This worked but caused errors with ansible-lint. See: https://review.opendev.org/694779 Change-Id: I388d4ae27111e430d38df1abcb6c6127d90a06e0
8 lines
165 B
YAML
8 lines
165 B
YAML
---
|
|
- name: "Configure haproxy for {{ project_name }}"
|
|
import_role:
|
|
name: haproxy-config
|
|
vars:
|
|
project_services: "{{ octavia_services }}"
|
|
tags: always
|