Skip to content

Commit 6555a5a

Browse files
committed
Initial cleanup.
1 parent 42315ba commit 6555a5a

File tree

75 files changed

+1203
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1203
-387
lines changed

.github/workflows/ansible-test.yml

-191
This file was deleted.

LICENSE COPYING

File renamed without changes.

README.md

+49-25
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,76 @@
1-
# collection_template
2-
You can build a new repository for an Ansible Collection using this template by following [Creating a repository from a template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template). This README.md contains recommended headings for your collection README.md, with comments describing what each section should contain. Once you have created your collection repository, delete this paragraph and the title above it from your README.md.
1+
# Docker Community Collection
2+
[![Run Status](https://api.shippable.com/projects/5f992599cc07df00079b99d1/badge?branch=main)](https://app.shippable.com/github/ansible-collections/community.docker/dashboard)
3+
[![Codecov](https://img.shields.io/codecov/c/github/ansible-collections/community.docker)](https://codecov.io/gh/ansible-collections/community.docker)
34

4-
# Foo Collection
5-
<!-- Add CI and code coverage badges here. Samples included below. -->
6-
[![CI](https://github.com/ansible-collections/REPONAMEHERE/workflows/CI/badge.svg?event=push)](https://github.com/ansible-collections/REPONAMEHERE/actions) [![Codecov](https://img.shields.io/codecov/c/github/ansible-collections/REPONAMEHERE)](https://codecov.io/gh/ansible-collections/REPONAMEHERE)
7-
8-
<!-- Describe the collection and why a user would want to use it. What does the collection do? -->
5+
This repo contains the `community.docker` Ansible Collection. The collection includes many modules and plugins to work with Docker.
96

107
## Tested with Ansible
118

12-
<!-- List the versions of Ansible the collection has been tested with. Must match what is in galaxy.yml. -->
9+
Tested with the current Ansible 2.9 and 2.10 releases and the current development version of Ansible. Ansible versions before 2.9.10 are not supported.
1310

1411
## External requirements
1512

16-
<!-- List any external resources the collection depends on, for example minimum versions of an OS, libraries, or utilities. Do not list other Ansible collections here. -->
17-
18-
### Supported connections
19-
<!-- Optional. If your collection supports only specific connection types (such as HTTPAPI, netconf, or others), list them here. -->
13+
Most modules and plugins require the [Docker SDK for Python](https://pypi.org/project/docker/). For Python 2.6 support, use [the deprecated docker-py library](https://pypi.org/project/docker-py/) instead.
2014

2115
## Included content
2216

23-
<!-- Galaxy will eventually list the module docs within the UI, but until that is ready, you may need to either describe your plugins etc here, or point to an external docsite to cover that information. -->
17+
* Connection plugins:
18+
- community.docker.docker
19+
* Inventory plugins:
20+
- community.docker.docker_machine
21+
- community.docker.docker_swarm
22+
* Modules:
23+
- community.docker.docker_compose
24+
- community.docker.docker_config
25+
- community.docker.docker_container_info
26+
- community.docker.docker_container
27+
- community.docker.docker_host_info
28+
- community.docker.docker_image_info
29+
- community.docker.docker_image
30+
- community.docker.docker_login
31+
- community.docker.docker_network_info
32+
- community.docker.docker_network
33+
- community.docker.docker_node_info
34+
- community.docker.docker_node
35+
- community.docker.docker_prune
36+
- community.docker.docker_secret
37+
- community.docker.docker_stack_info
38+
- community.docker.docker_stack
39+
- community.docker.docker_stack_task_info
40+
- community.docker.docker_swarm_info
41+
- community.docker.docker_swarm
42+
- community.docker.docker_swarm_service_info
43+
- community.docker.docker_swarm_service
44+
- community.docker.docker_volume_info
45+
- community.docker.docker_volume
2446

2547
## Using this collection
2648

27-
<!--Include some quick examples that cover the most common use cases for your collection content. -->
49+
Before using the General community collection, you need to install the collection with the `ansible-galaxy` CLI:
50+
51+
ansible-galaxy collection install community.docker
52+
53+
You can also include it in a `requirements.yml` file and install it via `ansible-galaxy collection install -r requirements.yml` using the format:
54+
55+
```yaml
56+
collections:
57+
- name: community.docker
58+
```
2859
2960
See [Ansible Using collections](https://docs.ansible.com/ansible/latest/user_guide/collections_using.html) for more details.
3061
3162
## Contributing to this collection
3263
33-
<!--Describe how the community can contribute to your collection. At a minimum, include how and where users can create issues to report problems or request features for this collection. List contribution requirements, including preferred workflows and necessary testing, so you can benefit from community PRs. If you are following general Ansible contributor guidelines, you can link to - [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html). -->
64+
If you want to develop new content for this collection or improve what is already here, the easiest way to work on the collection is to clone it into one of the configured [`COLLECTIONS_PATH`](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#collections-paths), and work on it there.
3465

66+
You can find more information in the [developer guide for collections](https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#contributing-to-collections), and in the [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html).
3567

3668
## Release notes
3769

38-
See the [changelog](https://github.com/ansible-collections/REPONAMEHERE/tree/main/CHANGELOG.rst).
39-
40-
## Roadmap
41-
42-
<!-- Optional. Include the roadmap for this collection, and the proposed release/versioning strategy so users can anticipate the upgrade/update cycle. -->
70+
See the [changelog](https://github.com/ansible-collections/community.docker/tree/main/CHANGELOG.rst).
4371

4472
## More information
4573

46-
<!-- List out where the user can find additional information, such as working group meeting times, slack/IRC channels, or documentation for the product this collection automates. At a minimum, link to: -->
47-
4874
- [Ansible Collection overview](https://github.com/ansible-collections/overview)
4975
- [Ansible User guide](https://docs.ansible.com/ansible/latest/user_guide/index.html)
5076
- [Ansible Developer guide](https://docs.ansible.com/ansible/latest/dev_guide/index.html)
@@ -55,8 +81,6 @@ See the [changelog](https://github.com/ansible-collections/REPONAMEHERE/tree/mai
5581

5682
## Licensing
5783

58-
<!-- Include the appropriate license information here and a pointer to the full licensing details. If the collection contains modules migrated from the ansible/ansible repo, you must use the same license that existed in the ansible/ansible repo. See the GNU license example below. -->
59-
6084
GNU General Public License v3.0 or later.
6185

62-
See [LICENSE](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.
86+
See [COPYING](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.

changelogs/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ sections:
2525
- Bugfixes
2626
- - known_issues
2727
- Known Issues
28-
title: CHANGE THIS IN changelogs/config.yaml!
28+
title: Docker Community Collection
2929
trivial_section_name: trivial

galaxy.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
# See https://docs.ansible.com/ansible/latest/dev_guide/collections_galaxy_meta.html
22

33
namespace: community
4-
name: FIXME
4+
name: docker
55
version: 0.1.0
66
readme: README.md
77
authors:
8-
- YOUR NAME (github.com/YOURGITHUB)
9-
description: null
8+
- Ansible Docker Working Group
9+
description: Modules and plugins for working with Docker
1010
license_file: COPYING
1111
tags:
12-
# tags so people can search for collections https://galaxy.ansible.com/search
13-
# tags are all lower-case, no spaces, no dashes.
14-
- example1
15-
- example2
16-
repository: https://github.com/ansible-collections/community.REPO_NAME
12+
- docker
13+
repository: https://github.com/ansible-collections/community.docker
1714
#documentation: https://github.com/ansible-collection-migration/community.REPO_NAME/tree/main/docs
18-
homepage: https://github.com/ansible-collections/community.REPO_NAME
19-
issues: https://github.com/ansible-collections/community.REPO_NAME/issues
15+
homepage: https://github.com/ansible-collections/community.docker
16+
issues: https://github.com/ansible-collections/community.docker/issues
2017
build_ignore:
2118
# https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#ignoring-files-and-folders
2219
- .gitignore

plugins/modules/docker_image_facts.py

-1
This file was deleted.

plugins/modules/docker_service.py

-1
This file was deleted.

0 commit comments

Comments
 (0)