Skip to content

argussecurity/ansible-mesos-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-mesos-dns

Ansible role for installing and configuring mesos-dns in the cluster. Can choose either server (NOT MAINTAINED, at the moment) or client setup.

Mesos-dns is deployed on Marathon, assuming it is run on Mesos master machine.

Based on https://github.com/mesosphere/mesos-dns/blob/master/contrib/ansible-gce/roles

Requirements

None.

Role Variables

  • mesos_dns_install_mode should be server (NOT MAINTAINED, at the moment) or client
  • zk comma separated list of Zookeeper host:port to monitor and detect Mesos masters, used in server setup
  • marathon defaults to localhost:8080
  • dns_host used in client setup to configure the dns server address

Dependencies

None.

Example Playbook

- hosts: [mesos_workers[0]]
  sudo: True
  roles:
    - { role: 'ansible-mesos-dns-server', zk: "{{ groups.mesos_primaries | join(':' + zookeeper_client_port + ',')  }}:{{ zookeeper_client_port  }}", tags: ['dns-server'] }
- hosts: [mesos_workers]
  sudo: True
  roles:
    - { role: 'ansible-mesos-dns-client', dns_host: "{{ groups.mesos_workers[0] }}", tags: ['dns-client'] }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published