{"id":19523893,"url":"https://github.com/eitansuez/opsman-director","last_synced_at":"2026-06-11T04:31:19.511Z","repository":{"id":96637743,"uuid":"246714164","full_name":"eitansuez/opsman-director","owner":"eitansuez","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-19T23:29:20.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T14:43:21.114Z","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/eitansuez.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":"2020-03-12T01:12:38.000Z","updated_at":"2020-03-19T23:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"42e492e2-6c08-4a88-bb67-efeb1ef676e7","html_url":"https://github.com/eitansuez/opsman-director","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/eitansuez%2Fopsman-director","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fopsman-director/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fopsman-director/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fopsman-director/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eitansuez","download_url":"https://codeload.github.com/eitansuez/opsman-director/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240773518,"owners_count":19855221,"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-11T00:45:06.449Z","updated_at":"2026-06-11T04:31:19.478Z","avatar_url":"https://github.com/eitansuez.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Ops Manager and Bosh Director\n\n## Description\n\n## Assumptions\n\n- Docker is installed\n- Platform Automation Docker Image has been downloaded\n  from the Pivotal Network and placed in a sibling directory named `artifacts`\n- Ops Manager yaml for GCP has been downloaded\n  from the Pivotal Network and placed in a sibling directory named `artifacts`\n- GCP was paved (terraform)\n- A file named `terraform-outputs.yml` was generated, and\n  resides one directory above the path to this cloned repository,\n  containing references to the resources generated by terraform\n- `direnv` is installed and configured in your shell\n- `om` cli is installed\n\n## Steps\n\n1. Import the platform automation docker image into docker\n\n    ```bash\n    docker import ../artifacts/platform-automation-image-*.tgz platform-automation-image\n    ```\n\n1. Run `p-automator` inside the docker image to create the Ops Manager VM\n\n    ```bash\n    docker run -it --rm -v $PWD/..:/workspace -w /workspace/opsman-director platform-automation-image \\\n      p-automator create-vm \\\n        --config opsman-config.yml \\\n        --image-file ../artifacts/ops-manager*.yml \\\n        --vars-file ../terraform-outputs.yml\n    ```\n\n1. Configure a `.envrc` file with these environment variables.\n   Choose a username, password, and decryption passphrase for your new Ops Manager.\n\n    - `OM_TARGET` (Ops Manager URL)\n    - `OM_USERNAME` (`admin` is a good choice)\n    - `OM_PASSWORD`\n    - `OM_DECRYPTION_PASSPHRASE`\n    - `OM_SKIP_SSL_VALIDATION` (set it to true if using a self-signed certificate)\n\n    Use `envrc.example` as a template.\n\n    Make sure to `direnv allow` before proceeding to the next step.\n\n1. Configure authentication to Ops Manager\n\n    ```bash\n    om --env env.yml configure-authentication \\\n      --decryption-passphrase ${OM_DECRYPTION_PASSPHRASE}\n    ```\n\n1. Configure the BOSH director\n\n    ```bash\n    om --env env.yml configure-director \\\n      --config director-config.yml \\\n      --vars-file ../terraform-outputs.yml\n    ```\n\n1. Provision the bosh director\n\n    ```bash\n    om --env env.yml apply-changes \\\n      --skip-deploy-products\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feitansuez%2Fopsman-director","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feitansuez%2Fopsman-director","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feitansuez%2Fopsman-director/lists"}