Skip to content

status-im/infra-role-consul-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consul Service

Create the configuration file for a Consul watch definition.

Usage

In Role

- name: Create Consul watch definition
  include_role: name=infra-role-consul-watch
  vars:
    consul_watch_name: 'app-abc'
    consul_watches:
      - type: 'services'
        args:
          - "/usr/bin/sudo"
          - "-u"
          - "root"
          - "-g"
          - "root"
          - "/var/lib/python_script.py"

The following variables are also available:

  • service_id
  • handler

About

Ansible role for creating Consul watch definitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages