ansible-modules-dcos-1.4.0
توضیحات
DCOS Ansible Modules
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ansible-modules-dcos-1.4.0 |
| نام | ansible-modules-dcos |
| نسخه کتابخانه | 1.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kevin Wood,Terry Howe |
| ایمیل نویسنده | kevin.wood@example.com |
| آدرس صفحه اصلی | https://github.com/TerryHowe/ansible-modules-dcos |
| آدرس اینترنتی | https://pypi.org/project/ansible-modules-dcos/ |
| مجوز | MIT |
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.python.org/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"
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
نحوه نصب
نصب پکیج whl ansible-modules-dcos-1.4.0:
pip install ansible-modules-dcos-1.4.0.whl
نصب پکیج tar.gz ansible-modules-dcos-1.4.0:
pip install ansible-modules-dcos-1.4.0.tar.gz