2017-02-01から1日間の記事一覧

ansistranoのafter_symlinkでsudo(become)を実行する

ansible の YAML ansible ansistrano の after_symlink hook で /etc/init.d/ にシンボリックリンクを作る。 - name: initd symlink become: true file: state: link src: /var/www/app1/current/deploy/initd/app1_uwsgi #dest: /home/user1/app1_uwsgi des…