service_config_set.yml 359 Bytes
Newer Older
EKbfh's avatar
EKbfh committed
1
2
---
- name: import path to control repo
3
4
  include_vars: "vars/{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml"

EKbfh's avatar
EKbfh committed
5
6
7
8
9
10
11

- name: Register a key/value pair for {{ consul_service_key }}
  consul_kv:
    key: "{{ consul_service_key }}"
    value: "{{ consul_service_value }}"
  vars:
    ansible_python_interpreter: "{{ consul_control_python }}"