{"id":22885017,"url":"https://github.com/mark8s/simple-playbook","last_synced_at":"2025-10-04T09:38:45.840Z","repository":{"id":112108098,"uuid":"472709727","full_name":"mark8s/simple-playbook","owner":"mark8s","description":"My first ansible playbook","archived":false,"fork":false,"pushed_at":"2022-05-10T06:34:01.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T17:59:39.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mark8s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-03-22T10:09:27.000Z","updated_at":"2022-03-22T10:10:01.000Z","dependencies_parsed_at":"2023-04-08T19:15:30.990Z","dependency_job_id":null,"html_url":"https://github.com/mark8s/simple-playbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mark8s/simple-playbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark8s%2Fsimple-playbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark8s%2Fsimple-playbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark8s%2Fsimple-playbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark8s%2Fsimple-playbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mark8s","download_url":"https://codeload.github.com/mark8s/simple-playbook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark8s%2Fsimple-playbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278295840,"owners_count":25963425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2024-12-13T19:30:39.070Z","updated_at":"2025-10-04T09:38:45.812Z","avatar_url":"https://github.com/mark8s.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### simple-playbook\n一个简单的ansible实践project。\n\n#### install gcp （include infra、code、dns、bizdb）\nFirst,you need copy gitlab_data.tar 、 bind_conf.tar、mongodb to /roles/lib dir\n\n##### install all\n```shell\nansible-playbook -i inventory/gcp deploy-gcp.yml\n```\n\n##### install infra alone\n```shell\nansible-playbook -i inventory/gcp role/up-infra.yml\n```\n\n##### install code alone\n```shell\nansible-playbook -i inventory/gcp role/up-code.yml\n```\n\n##### install dns alone\n```shell\nansible-playbook -i inventory/gcp role/up-dns.yml\n```\n\n##### install bizdb alone\n\n```shell\nansible-playbook -i /inventory/gcp role/up-bizdb.yml\n```\n\n#### new user\n```shell\nuseradd test\npasswd test \nchmod u-w /etc/sudoers\n\nvisudo ,in the end add next command \ntest ALL=(ALL) NOPASSWD: ALL\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark8s%2Fsimple-playbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmark8s%2Fsimple-playbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark8s%2Fsimple-playbook/lists"}