Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonzeolla/policy-as-code

A Policy as Code lab
https://github.com/jonzeolla/policy-as-code

Last synced: about 6 hours ago
JSON representation

A Policy as Code lab

Awesome Lists containing this project

README

        

# Policy as Code Lab

## Getting Started

Run the lab setup container.

```bash
docker run -it --network host -v /:/host jonzeolla/labs:policy-as-code
```

You'll be prompted to provide your IP, and setup will continue automatically from there.

## Customizing

If you need to pass custom arguments to the `ansible-playbook` command in the `entrypoint.sh`, pass in the arguments as an env var named `ANSIBLE_CUSTOM_ARGS`.

You can specify a custom user by setting the `HOST_USER` environment variable inside the container.

Additionally, if you want to specify your IP non-interactively, pass in a `CLIENT_IP` environment variable.

## Updating

Standard updates are automated to run twice a week and open a PR if anything changes (via `task update`). If you need to rebase the branches of any related demo
repos (as defined under `hack/demo-repos.yml`) then run `task update-demo-repos`.