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
Close
Hashes for ansible-modules-dcos-1.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e074ab3478779fdf93a785ffbbc0693d3f85ec0601e411b943c3c581a8802463 |
|
MD5 | 5d41049aad35c11f56e4580146a3a5ca |
|
BLAKE2b-256 | 0c516f7fd24275fa3c32ebf4d2f7b9b27e2a87f4156341d61d81fc4b4a312164 |