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

https://github.com/utilitywarehouse/sys-ansible-k8s-on-prem


https://github.com/utilitywarehouse/sys-ansible-k8s-on-prem

uw-owner-system

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

Ansible scripts to setup on-prem environment components that do not fit in our
terraform based model.

# Requirements

- ansible >=2.7 local setup
- `system` strongbox key
- `make netapp-collections-install` to install netapp.ontap collections for ansible
- `pip install netapp-lib requests` is also needed by ansible netapp modules to run

# Makefile support

There is a [Makefile](./Makefile) which includes targets for the playbooks that
one would need to run from this repo.

For example:
```
make dhcp-dev
```
will run the [dhcp-dev](./dhcp_dev.yaml) playbook against hosts specified under
the defined [hosts](./inventories/hosts)

`DRY_RUN` environment variable can be used as `DRY_RUN=true make dhcp-dev` to
perform dry runs and check diffs before actually applying playbooks config.

`netapp-collections-install` is also available to install netapp library
dependencies that do not ship with ansible by default.

Optionally `ARGS` environment variable can be used to append arguments to
playbook commands, like `make cumulus ARGS="--tags frr"`

Please add new targets for all new roles and collections installations needed.