GithubHelp home page GithubHelp logo

dev-provisioning's Introduction

dev-provisioning

Usage

$ make PLAYBOOK_OPTS="--ask-become-pass --skip-tags tex"

Test with Vagrant

$ cd ./vagrant/
$ vagrant up --provisioning

# clean
$ vagrant halt
$ vagrant destroy

dev-provisioning's People

Contributors

chez-shanpu avatar

Stargazers

 avatar

Watchers

 avatar

dev-provisioning's Issues

become yesの使いどころ

常にbecome yesにするとファイルのownerがrootになってしまうので必要最小限にしたい

Dockerコンテナ上で$USERが取得できない

rootユーザで実行すると`lookup("env", "USER")``で空文字を返す
sudoユーザを作成するとgathering factsで
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: 1: sudo: not found\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 127}
となる

anyenv installできない

TASK [language : Install goenv] ************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "anyenv install goenv", "delta": "0:00:00.099710", "end": "2019-02-12 11:12:58.260713", "msg": "non-zero return code", "rc": 2, "start": "2019-02-12 11:12:58.161003", "stderr": "\u001b[33mANYENV_DEFINITION_ROOT(/root/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by:\u001b[0m\n\u001b[33m> anyenv install --init\u001b[0m", "stderr_lines": ["\u001b[33mANYENV_DEFINITION_ROOT(/root/.config/anyenv/anyenv-install) doesn't exist. You can initialize it by:\u001b[0m", "\u001b[33m> anyenv install --init\u001b[0m"], "stdout": "anyenv-install: definition not found: goenv", "stdout_lines": ["anyenv-install: definition not found: goenv"]}

go toolsのPATH

goのパスが~/go/{{version}}/...に変わったのでそれに合わせた変更が必要

dconfでエラーを吐く

common-roleのdconfの部分でエラーを吐く
Dockerコンテナ上でテストしていることが原因か

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.