{ "info": { "author": "Jakob Sundh", "author_email": "jsundh@users.noreply.github.com", "bugtrack_url": null, "classifiers": [], "description": "# ansible-modules-consul-acl\n\nAnsible modules for the [Consul ACL system](https://www.consul.io/docs/agent/acl-system.html):\n\n- `consul_acl_policy`\n- `consul_acl_token`\n\n## Installation\n\nInstall using pip:\n\n```\npip install ansible-modules-consul-acl\n```\n\nThe modules have no external dependencies except Ansible.\n\n## Usage\n\nThe documentation for each module is mostly complete - use `ansible-doc` to view it.\n\n### Example\n\n\n```yaml\n- name: Create ACL policy\n consul_acl_policy:\n name: example\n # Rules specified as an HCL string\n rules: |\n service \"example\" {\n policy = \"write\"\n }\n state: present\n url: https://localhost:8500\n token: a22c5e4f-0f48-4907-82db-843c6baf75be # Requires acl:write\n register: consul_acl_policy\n\n- name: Create ACL token\n consul_acl_token:\n description: Example token\n # Policies specified as a list of PolicyLink objects: https://www.consul.io/api/acl/tokens.html#policies\n policies:\n - id: \"{{ consul_acl_policy.id }}\"\n local: true\n state: present\n url: https://localhost:8500\n token: a22c5e4f-0f48-4907-82db-843c6baf75be # Requires acl:write\n register: consul_acl_token\n```\n\n### Environment variables\n\nSome of the environment variables for the [Consul CLI](https://www.consul.io/docs/commands/index.html#environment-variables) will be used if they are defined:\n\n- `CONSUL_HTTP_ADDR` for the `url` parameter. Prefix with `https://` instead of setting `CONSUL_HTTP_SSL=true`\n- `CONSUL_HTTP_TOKEN` for the `token` parameter\n- `CONSUL_CLIENT_CERT` for the `client_cert` parameter\n- `CONSUL_CLIENT_KEY` for the `client_key` parameter", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jsundh/ansible-modules-consul-acl", "keywords": "", "license": "GNU GPL v3", "maintainer": "", "maintainer_email": "", "name": "ansible-modules-consul-acl", "package_url": "https://pypi.org/project/ansible-modules-consul-acl/", "platform": "", "project_url": "https://pypi.org/project/ansible-modules-consul-acl/", "project_urls": { "Homepage": "https://github.com/jsundh/ansible-modules-consul-acl" }, "release_url": "https://pypi.org/project/ansible-modules-consul-acl/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Ansible modules for the Consul ACL system", "version": "0.2.0" }, "last_serial": 4861888, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e2509758554655660c13960ab508655b", "sha256": "19724ec807daf64977bc261d3dfe5d218400ec283678f674662e7a2af36736b2" }, "downloads": -1, "filename": "ansible-modules-consul-acl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e2509758554655660c13960ab508655b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4957, "upload_time": "2019-02-17T19:12:34", "url": "https://files.pythonhosted.org/packages/d6/97/04540f2dded38265a79eda8d79d703fa50c9f79964379144900b283c3325/ansible-modules-consul-acl-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "5ea56c1c09e0ae8efe889d47e8b11cad", "sha256": "55a39fdb4b21a532509e0fffe69887b33be183815e05e7c3602d3f7213747c65" }, "downloads": -1, "filename": "ansible-modules-consul-acl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5ea56c1c09e0ae8efe889d47e8b11cad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5564, "upload_time": "2019-02-18T17:50:36", "url": "https://files.pythonhosted.org/packages/9a/89/5b1e099cd2b815c315cd27a9b160df8544fd8a5681126bb2152ee95d2b32/ansible-modules-consul-acl-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c342db491484f9f1b1eda5f589f543c0", "sha256": "f5bf990154cc0d9a322b996631b466e5c7b564d2c7eab205cce18640f717c026" }, "downloads": -1, "filename": "ansible-modules-consul-acl-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c342db491484f9f1b1eda5f589f543c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5591, "upload_time": "2019-02-24T19:57:44", "url": "https://files.pythonhosted.org/packages/ae/d7/33e34aaa0dd7a3357811ba6fabb16b84e5f200dca471ded02c3a3c101674/ansible-modules-consul-acl-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c342db491484f9f1b1eda5f589f543c0", "sha256": "f5bf990154cc0d9a322b996631b466e5c7b564d2c7eab205cce18640f717c026" }, "downloads": -1, "filename": "ansible-modules-consul-acl-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c342db491484f9f1b1eda5f589f543c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5591, "upload_time": "2019-02-24T19:57:44", "url": "https://files.pythonhosted.org/packages/ae/d7/33e34aaa0dd7a3357811ba6fabb16b84e5f200dca471ded02c3a3c101674/ansible-modules-consul-acl-0.2.0.tar.gz" } ] }