Skip to content

weareinteractive/ansible-docker-compose

Repository files navigation

Ansible weareinteractive.docker_compose role

Build Status Galaxy GitHub Tags GitHub Stars

weareinteractive.docker_compose is an Ansible role which:

  • installs docker-compose

Installation

Using ansible-galaxy:

$ ansible-galaxy install weareinteractive.docker_compose

Using requirements.yml:

- src: weareinteractive.docker_compose

Using git:

$ git clone https://github.com/weareinteractive/ansible-docker-compose.git weareinteractive.docker_compose

Dependencies

Note:

Since Ansible Galaxy switched all role names to the organization name, this role has moved from franklinkim.docker-compose to weareinteractive.docker_compose!

Variables

Here is a list of all the default variables for this role, which are also available in defaults/main.yml.

---

# version
docker_compose_version:
# dependencies e.g. python3-pip
docker_compose_packages:
  - python-pip
# pip executable e.g. pip3
docker_compose_pip_executable: pip

Usage

This is an example playbook:

---

- hosts: all
  become: yes
  roles:
    - weareinteractive.docker
    - weareinteractive.docker_compose
  vars:
    docker_compose_version: 1.21.0
    docker_compose_pip_version: pip #pip==9.0.3

Testing

$ git clone https://github.com/weareinteractive/ansible-docker-compose.git
$ cd ansible-docker-compose
$ make test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Note: To update the README.md file please install and run ansible-role:

$ gem install ansible-role
$ ansible-role docgen

License

Copyright (c) We Are Interactive under the MIT license.

About

Ansible Role which installs docker-compose

Resources

License

Stars

Watchers

Forks

Packages

No packages published