{"blog_title":"torilon\u2019s diary","image_url":null,"title":"GCP\u306edebian\u3067ansible\u3092\u52d5\u304b\u3059\u307e\u3067","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftorilon.hatenablog.com%2Fentry%2F2020%2F09%2F13%2F133918\" title=\"GCP\u306edebian\u3067ansible\u3092\u52d5\u304b\u3059\u307e\u3067 - torilon\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","blog_url":"https://torilon.hatenablog.com/","width":"100%","author_name":"torilon","author_url":"https://blog.hatena.ne.jp/torilon/","height":"190","published":"2020-09-13 13:39:18","description":"ansible\u30b5\u30fc\u30d0\u3067ansible\u3092\u4f7f\u3063\u3066\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u30b5\u30fc\u30d0\u306bapache2\u3092\u5165\u308c\u308b\u307e\u3067\u306e\u624b\u9806 \u74b0\u5883\uff1aGoogle Compute Engine\u4e0a\u306edebian10 deb01: ansible\u30b5\u30fc\u30d0 deb02: \u30bf\u30fc\u30b2\u30c3\u30c8\u30b5\u30fc\u30d0 1. ansible\u30b5\u30fc\u30d0\u306e\u4f5c\u696d(1) 1) GCP\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u753b\u9762\u304b\u3089SSH\u63a5\u7d9a\u3067\u30ed\u30b0\u30a4\u30f3 2) root\u306b\u306a\u308b $ sudo su - 3) \u30e6\u30fc\u30b6\u30fc\u4f5c\u6210 # adduser dev01 4) /etc/sudoers.d/\u914d\u4e0b\u306bdev01\u3092\u4f5c\u6210\u3059\u308b # cd /etc/sudoers.d # vi dev01 dev01\u306e\u5185\u5bb9 dev01 ALL=\u2026","categories":[],"url":"https://torilon.hatenablog.com/entry/2020/09/13/133918"}