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')}}"
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ansible-modules-dcos-1.2.3.tar.gz
.
File metadata
- Download URL: ansible-modules-dcos-1.2.3.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 944b93d7f40a309c31f7cd9478964db37ad6ce5b72a429a5260f26830f74fd76 |
|
MD5 | d4847c49c3d27409656a088d4469b84f |
|
BLAKE2b-256 | d1c6e335f83078f9a468709b56c99c74932581cd967baa8739525ed149c90ce1 |