troykinsella.docker
troykinsella.docker
DockerをインストールするAnsibleロールです。インストール手順については、以下のリンクを参照してください: https://docs.docker.com/install/linux/docker-ce/ubuntu/
ロール変数
デフォルト値については defaults/main.yml
を参照してください。
docker_repository_url
: (任意)DockerパッケージをインストールするためのaptリポジトリのURL。docker_gpg_key_fingerprint
: (任意)Dockerのaptリポジトリ用のGPGキーのフィンガープリント。docker_package_name
: (任意)インストールするDockerのaptパッケージ名。docker_systemd_service_d_path
: (任意)systemdのdocker.service.dディレクトリへのパス。docker_systemd_startup_options_conf
: (任意)docker_systemd_service_d_path
に生成する設定ファイルの名前。docker_enable_remote_api
がyes
のとき。docker_enable_remote_api
: (任意)ブール値。DockerリモートAPIを設定します。docker_bind_port
: (任意)docker_enable_remote_api
がyes
のときにDockerデーモンがリッスンするポート。docker_group_members
: (任意)docker
グループのメンバーにするユーザーのリスト。
例プレイブック
- hosts: servers
roles:
- role: troykinsella.docker
docker_enable_remote_api: yes
プラットフォーム
Ubuntu:
- trusty
- xenial
- bionic
テスト
前提条件:
docker
ruby
> 2.3bundler
テスト方法:
bundle install
bundle exec kitchen test
ライセンス
MIT © Troy Kinsella
プロジェクトについて
Docker allows you to package an application with all of its dependencies into a standardized unit for software development.
インストール
ansible-galaxy install troykinsella.docker
ライセンス
mit
ダウンロード
1.4k
所有者
Staff Solutions Architect at @collectivei.