Skip to main content

Ansible modules for DC/OS.

Latest version

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

Download files

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

Source Distribution

ansible-modules-dcos-1.4.0.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file ansible-modules-dcos-1.4.0.tar.gz.

File metadata

File hashes

Hashes for ansible-modules-dcos-1.4.0.tar.gz
Algorithm Hash digest
SHA256 4dbc3cf799476caf2025fe4bf098875c2693d260777029396868c76b0a983bab
MD5 4dc210a6e7f8fbb905cdc40e1d309076
BLAKE2b-256 643c26cad07f759d72076e3c7749d03d6e36c3f13cf92ea45cb3963c1ce4bdf4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 file

1.3.0

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.9

1 file

1.0.8

1 file

1.0.7

1 file

1.0.6

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

1.0.0

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page