2016-04-22から1日間の記事一覧
appロールを作り、rbenvとrubyをインストールして使用できるようにするメモ hosts [app] app01 ansible_host=xxx.xxx.xxx.xxx app.yml --- - hosts: app roles: - app roles/app/tasks/main.yml --- - name: 開発ツールをインストール become: True yum: nam…
nfs関連のミドルウェアをインストールして、任意のNFSをマウントするまで CentOS6.5。 roles/app/defaults/main.yml --- file_mountpoint: /path_to_mountpoint file_server: xxx.xxx.xxx.xxx roles/app/tasks/main.yml - name: NFSクライアントをインストー…
中国国内のサーバーからgemコマンドを使いたい場合のメモ。 デフォルト以外のリポジトリを追加 https://rubygems.org/ が中国国内から接続できない(時がある?)ため、別のリポジトリを仕方なく追加します。 現在の内容を確認 $ gem sources -l *** CURRENT…