Skip to main content

DCOS Ansible Modules

Project description

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"

License

MIT

Project details


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.0.8.tar.gz (6.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for ansible-modules-dcos-1.0.8.tar.gz
Algorithm Hash digest
SHA256 0b14a548863d5ca0b3b022d3eae9b14ba127579aa1b7840499b6babff0476888
MD5 809402e52ccad6ce688971763cd02ee6
BLAKE2b-256 7668ac8368506eff6eb1da964a9cb2ad7375cb84a50f74cd4c25c9fbc1fe018e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page