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
- Host: GitHub
- URL: https://github.com/utilitywarehouse/sys-ansible-k8s-on-prem
- Owner: utilitywarehouse
- License: mit
- Created: 2019-02-13T10:27:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T10:37:09.000Z (7 months ago)
- Last Synced: 2024-12-27T07:15:23.273Z (6 months ago)
- Topics: uw-owner-system
- Language: Makefile
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
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.