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 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 playbook against hosts specified under the defined 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.