{"id":25204387,"url":"https://github.com/wheatandcat/dotstamp_ansible","last_synced_at":"2026-06-23T15:33:23.916Z","repository":{"id":104377644,"uuid":"84679644","full_name":"wheatandcat/dotstamp_ansible","owner":"wheatandcat","description":".stamp","archived":false,"fork":false,"pushed_at":"2017-08-15T04:07:07.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T07:44:39.407Z","etag":null,"topics":["ansible"],"latest_commit_sha":null,"homepage":"http://dotstamp.com/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wheatandcat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-11T21:02:08.000Z","updated_at":"2019-03-15T10:54:58.000Z","dependencies_parsed_at":"2023-11-26T18:47:28.954Z","dependency_job_id":null,"html_url":"https://github.com/wheatandcat/dotstamp_ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wheatandcat/dotstamp_ansible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheatandcat%2Fdotstamp_ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheatandcat%2Fdotstamp_ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheatandcat%2Fdotstamp_ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheatandcat%2Fdotstamp_ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wheatandcat","download_url":"https://codeload.github.com/wheatandcat/dotstamp_ansible/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheatandcat%2Fdotstamp_ansible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34696897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible"],"created_at":"2025-02-10T08:17:38.621Z","updated_at":"2026-06-23T15:33:23.911Z","avatar_url":"https://github.com/wheatandcat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotstamp_ansible\n\n\u003cimg src=\"https://raw.githubusercontent.com/wheatandcat/dotstamp_client/master/dist/images/common/about.png\" data-canonical-src=\"https://raw.githubusercontent.com/wheatandcat/dotstamp_client/master/dist/images/common/about.png\" width=\"200\" /\u003e\n\n## 概要\n.stampの環境構築リポジトリ  \nwebサービス：[.stamp](http://dotstamp.com/)\n## projectリポジトリ一覧\n* サーバーサイド:[dotstamp_server](https://github.com/wheatandcat/dotstamp_server)\n* クライアントサイド：[dotstamp_client](https://github.com/wheatandcat/dotstamp_client)\n* 環境構築：[dotstamp_ansible](https://github.com/wheatandcat/dotstamp_ansible)\n* デプロイスクリプト：[dotstamp_deploy_script](https://github.com/wheatandcat/dotstamp_deploy_script)\n* デプロイ環境構築：[dotstamp_deploy_ansible](https://github.com/wheatandcat/dotstamp_deploy_ansible)\n## 事前準備\n実行には以下が必要です\n* Ansible\n* VirtualBox\n* Vagrant\n## ローカル環境構築手順  \n### 注意事項  \n* 環境構築にはそれなりの時間と容量が必要です。ご注意下さい\n* 開発者はmacで開発を行っているので、それ以外の環境での動作できるかは不明です\n* また既存でVagrantを使用している場合に、環境を上書いてしまう可能性があるので、予めリポジトリの中身をご確認の上で実行して下さい\n### 構築手順\nリポジトリをclone + vagrant起動\n```\ngit clone git@github.com:wheatandcat/dotstamp_ansible.git\ncd dotstamp_ansible\nvagrant up\n```\nvagrantでsshできるようにする（開発者用）\n```\nvagrant ssh-config \u003e ~/.ssh/config\nssh-agent\nssh-add -K ~/.ssh/id_rsa\nssh-agent -l\n```\nAnsibleの接続確認\n```\nansible all -i hosts -m ping\n```\n※繋がらないときは、下記を実行\n```\nsudo systemctl restart network.service\nip a\n```\nAnsibleでローカル環境構築\n```\nansible-galaxy install -p ./roles -r roles.yml\nansible-playbook -i hosts site.yml\n```\n## 各環境構築系\nxxx=環境ファイル\n\nDBサーバ\n```\nansible-playbook -i xxx db.yml\n```\nWEBサーバ\n```\nansible-playbook -i xxx web.yml\n```\nバッチサーバ\n```\nansible-playbook -i xxx batch.yml\n```\nデプロイサーバ(初期構築のみ)\n```\nansible-playbook -i xxx init.yml\n```\n## 本番ログ\n### Nginx\n```\n/var/log/nginx/access.log\n/var/log/nginx/error.log\n```\n### supervisord\n```\n/var/log/supervisord/blue.log\n/var/log/supervisord/green.log\n```\n### アプリログ\n```\n/project/logs/\n```\n### mysqlバックアップ\n```\n/backup/sql/\n```\n# SSL証明書（https対応）(https://github.com/certbot/certbot)\n```\ncd /home/worker\ngit clone https://github.com/certbot/certbot\ncd certbot\n./certbot-auto certonly --standalone -t\n# ドメイン入力\n```\n\n## ライセンス\nBSDライセンス\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheatandcat%2Fdotstamp_ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwheatandcat%2Fdotstamp_ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheatandcat%2Fdotstamp_ansible/lists"}