{"id":20102952,"url":"https://github.com/stackrox/ansible-demo","last_synced_at":"2025-03-02T17:23:13.525Z","repository":{"id":38317655,"uuid":"339480604","full_name":"stackrox/ansible-demo","owner":"stackrox","description":"Create sales demos on k8s/OpenShift with Ansible","archived":false,"fork":false,"pushed_at":"2024-08-08T17:16:34.000Z","size":224,"stargazers_count":15,"open_issues_count":2,"forks_count":8,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-13T04:40:13.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/stackrox.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":"2021-02-16T17:44:07.000Z","updated_at":"2023-11-22T15:54:27.000Z","dependencies_parsed_at":"2024-11-13T17:48:17.756Z","dependency_job_id":null,"html_url":"https://github.com/stackrox/ansible-demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fansible-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fansible-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fansible-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Fansible-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackrox","download_url":"https://codeload.github.com/stackrox/ansible-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241542435,"owners_count":19979317,"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-11-13T17:33:45.789Z","updated_at":"2025-03-02T17:23:13.502Z","avatar_url":"https://github.com/stackrox.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-demo\n\nDeploy StackRox and create sales demos on k8s/OpenShift with Ansible\n\nTo use:\n\n1. Base64 encode your kubeconfig (must have only one context -- this is an Ansible limitation) and your docker config.json with read access to gcr.io/rox-se.  (`base64 -w 0 kubeconfig`...)\n2. Copy `docker-compose.yml` and `sample.env` from the repo.  Rename `sample.env` to `config.env` and put the proper values for each of the variables in there.  For example:\n\n```\nKUBECONFIG_BASE64=TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gVml2YW11cyBmYWNpbGlzaXMgZWxlaWZlbmQgZWxlbWVudHVtLiBBbGlxdWFtIHVsbGFtY29ycGVyIHJpc3VzIGxvcmVtLCBuZWMgYXVjdG9yLgo=\nDOCKERCONFIG_BASE64=V2l0aCBTdGFja1JveCwgUmVkIEhhdCBzdHJlbmd0aGVucyBjdXN0b21lcnPigJkgYWJpbGl0eSB0byBidWlsZCwgZGVwbG95IGFuZCBydW4gYXBwbGljYXRpb25zIG1vcmUgc2VjdXJlbHkgYWNyb3NzIHRoZSBvcGVuIGh5YnJpZCBjbG91ZAo=\nCENTRAL_PORT=443\nADMIN_PASSWORD=ThisIsAnUnusuallyStrongPassphraseThatYou'llEndUpTypoing\nORCHESTRATOR=openshift\nIMAGE_PULL_USER=\u003cquay.io username\u003e\nIMAGE_PULL_PASSWORD=\u003cpassword for image pull account\u003e\n```\n\n(optional:  If supplied, Auth0 will be configured\n\n```\nAUTH_CLIENT_ID=Ym9vLXlhaCBib3kgZGlkIHlvdSByZWFsbHkgZGVjb2RlIGFsbCB0aGVzZT8K\nAUTH_DOMAIN=abc123.auth0.com\n```\n\nAdd the appropriate values to `config.env`.)\n\n\n(optional:  If `CENTRAL_ADDR` is supplied, the playbook will skip installing Central and the cluster bundle.)\n(optional:  If you want to pull images from `stackrox.io` directly, omit IMAGE_REGISTRY and provide credentials for `stackrox.io`.)\n\n3. Invoke the `docker-compose.yml` with `docker-compose run ansible-demo-build`\n\nA few notes:\n\n* Auth0 integration is there but it's not going to work until we figure out the right approach for allowed callback URLs.\n* The process baseline is now locked for deployments that have rogue processes runing in them.\n* Not yet implemented:\n  - Slack notification\n  - There might be other things\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Fansible-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackrox%2Fansible-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Fansible-demo/lists"}