{"id":16358520,"url":"https://github.com/detiber/demo-env-ansible","last_synced_at":"2025-12-24T13:30:12.190Z","repository":{"id":145760210,"uuid":"59510318","full_name":"detiber/demo-env-ansible","owner":"detiber","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-28T16:34:05.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T13:41:15.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/detiber.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}},"created_at":"2016-05-23T18:57:38.000Z","updated_at":"2017-11-15T04:08:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdfcf25a-295b-42d3-b21b-635ef4470b3c","html_url":"https://github.com/detiber/demo-env-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fdemo-env-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fdemo-env-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fdemo-env-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detiber%2Fdemo-env-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detiber","download_url":"https://codeload.github.com/detiber/demo-env-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239708990,"owners_count":19684165,"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","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-10-11T02:06:00.931Z","updated_at":"2025-12-24T13:30:12.143Z","avatar_url":"https://github.com/detiber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# demo-env-ansible\nRunning locally:\n\n- Export the needed variables:\n  ```\n  export AWS_ACCESS_KEY_ID=\u003cyour aws access key id\u003e\n  export AWS_SECRET_ACCESS_KEY=\u003cyour aws secret access key\u003e\n  ```\n  - Alternatively, add these to a file (say ~/keynote-demo-env-vars) and\n    source it when needed.\n\n- Create a private variables file (say ~/keynote-demo-private-vars.yml) with\n  the following contents:\n  ```\n---\ndemo_route_53_zone: \u003cmy route53 delegated zone\u003e\n\ndemo_additional_ssh_keys:\n- \u003cssh pub key 1\u003e\n- \u003cssh pub key 2\u003e\n\ndemo_github_clientid: \u003cgithub client id\u003e\ndemo_github_clientsecret: \u003cgithub client secret\u003e\ndemo_github_organizations:\n- \u003cgithub organization\u003e\n\nopenshift_master_htpasswd_users:\n  demo: \u003cpre-hashed password\u003e\n\ndemo_registry_s3_accesskey: \u003cs3 access key for registry\u003e\ndemo_registry_s3_secretkey: \u003cs3 secret key for registry\u003e\ndemo_registry_s3_bucket_prefix: \u003cprefix to use for s3 bucket\u003e\ndemo_registry_s3_bucket: \u003cs3 bucket name\u003e\n\nopenshift_additional_repos:\n- id: ops_mirror\n  name: Ops Mirror\n  baseurl: \u003curl to private mirror\u003e\n  enabled: 1\n  gpgcheck: 0\n  sslclientcert: /var/lib/yum/client-cert.pem\n  sslclientkey: /var/lib/yum/client-key.pem\ndemo_repo_cert_contents: \u003ccontents of the client cert for above repo\u003e\ndemo_repo_key_contents: \u003ccontents of the client key for above repo\u003e\n   ```\n\n- Create the hosts:\n```\nansible-playbook -i inventory/aws/ec2.py -e \"@vars.common.yml\" -e \"@vars.demo.prod.yml\" -e\"@~/keynote-demo-private-vars.yml\" provision.yml\n```\n\n- Configure the hosts:\n```\nansible-playbook -i inventory/aws/ec2.py -e \"@vars.common.yml\" -e \"@vars.demo.prod.yml\" -e \"@~/keynote-demo-private-vars.yml\" configure.yml\n```\n\n- Teardown the environment:\n```\nansible-playbook -i inventory/aws/ec2.py -e \"@vars.common.yml\" -e \"@vars.demo.prod.yml\" -e \"@~/keynote-demo-private-vars.yml\" teardown.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetiber%2Fdemo-env-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetiber%2Fdemo-env-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetiber%2Fdemo-env-ansible/lists"}