ansible-role-openpolicyagent/molecule/default/playbook.yml

34 lines
799 B
YAML
Raw Normal View History

2019-10-07 22:09:33 +00:00
---
- name: Converge
hosts: all
post_tasks:
- name: Copy example_conf
copy:
src: example_conf/
dest: "{{ openpolicyagent_config_d_path }}"
owner: "{{ openpolicyagent_user }}"
group: "{{ openpolicyagent_group }}"
roles:
- role: ansible-role-openpolicyagent
vars:
local__openpolicyagent_services:
- name: "{{ ansible_hostname }}"
url: "http://{{ ansible_fqdn }}"
- name: "OPA"
url: "http://{{ ansible_fqdn }}/OPA"
local__openpolicyagent_labels:
host: "{{ ansible_fqdn }}"
service: "OPA"
app: "OPA"
environment: "molecule"
openpolicyagent_config_decision_logs:
service: "OPA"
reporting:
min_delay_seconds: 300
max_delay_seconds: 600