This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

DCOS Ansible Modules

Project Description

Ansible modules for DC/OS.

Usage

Create a user:

- hosts: localhost
  tasks:
    - dcos_user:
        uid: "bobslydell"
        description: 'bobslydell'
        password: 'fooBar123ASDF'
        state: present
        dcos_credentials: "{{ dcos_facts.ansible_facts.dcos_credentials }}"

Create a group:

- dcos_group: gid="bobs" description='the bobs'

Create a ACL:

- dcos_acl:
    rid: "dcos:adminrouter:service:marathon-bobs"
    description: "Bob acl"

Add user to ACL:

- dcos_acl_user:
    rid: "dcos:adminrouter:service:marathon-bobs"
    uid: "bobslydell"
    permission: "read"

Add group to ACL:

- dcos_acl_group:
    rid: "dcos:adminrouter:service:marathon-bobs"
    gid: "bobs"
    permission: "read"

Print the DC/OS token:

- debug: msg="{{lookup('dcos_token')}}"

Print the DC/OS token header:

- debug: msg="{{lookup('dcos_token_header')}}"

Get marathon leader:

- dcos_marathon_leader:
  register: marathon

License

MIT

Release History

Release History

This version
History Node

1.4.0

History Node

1.3.0

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ansible-modules-dcos-1.4.0.tar.gz (8.0 kB) Copy SHA256 Checksum SHA256 Source Nov 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting