タイムインターメディア技術部会資料
構成管理ツール。
セットアップスクリプトを記述し、パッケージインストールやデーモンの起動をリモート設定できる。
redis: | |
image: redis | |
ports: | |
- "6379:6379" | |
expose: | |
- "6379" |
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>MRD</appname> | |
<equal>com.microsoft.rdc.mac</equal> | |
</appdef> | |
<item> | |
<name>Fix Backquote and Tilde input</name> | |
<identifier>private.remotedesktopswapbackquote</identifier> | |
<only>MRD</only> |
druid: | |
image: druid/cluster | |
ports: | |
- "3000:8082" | |
- "3001:8081" | |
expose: | |
- "8082" | |
- "8081" |
- hosts: all | |
remote_user: eyasuyuki | |
sudo: yes | |
vars: | |
limits_conf: /etc/security/limits.conf | |
sysctl_conf: /etc/sysctl.conf | |
tasks: | |
- name: before install fluentd check ulimit | |
shell: grep "{{ item }}" {{ limits_conf }} | |
with_items: |
# Brew Tap | |
- name: Brew Tap | |
shell: /usr/local/bin/brew tap {{ item }} | |
with_items: brew_tap | |
# Brew Update | |
- name: Brew Update | |
homebrew: update_homebrew=yes upgrade_all=yes | |
# Install Apps |
--- | |
brew_tap: | |
- caskroom/cask | |
- caskroom/versions | |
- homebrew/binary | |
- homebrew/dupes | |
- homebrew/versions | |
brew_app: | |
- brew-cask |
[riak_cluster] | |
host_A | |
host_B | |
host_C | |
host_D | |
host_E | |
[riak_cluster:vars] | |
top_node=host_A |
- hosts: riak_cluster:!riak_cluster[0] | |
remote_user: eyasuyuki | |
sudo: yes | |
roles: | |
- cluster |