Skip to main content

DCOS Ansible Modules

Project description

Ansible Modules for DC/OS
=========================

Ansible modules for DC/OS.

.. image:: https://img.shields.io/pypi/v/ansible-modules-dcos.svg
:alt: Latest version
:target: https://pypi-hypernode.com/pypi/ansible-modules-dcos/

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.4.tar.gz (5.6 kB view hashes)

Uploaded Source

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