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

Metadata

Release files for ansible-modules-dcos 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ansible-modules-dcos 1.4.0
File Size Uploaded Provenance
ansible-modules-dcos-1.4.0.tar.gz 8.0 kB Without provenance Details

Release files / ansible-modules-dcos-1.4.0.tar.gz

Download URL ansible-modules-dcos-1.4.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4dbc3cf799476caf2025fe4bf098875c2693d260777029396868c76b0a983bab
BLAKE2b-256 checksum
How to use checksums
643c26cad07f759d72076e3c7749d03d6e36c3f13cf92ea45cb3963c1ce4bdf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ansible-modules-dcos 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page