Otter Documentation

If / Else Blocks

  • Last Modified: 2019-07-17

If / Else blocks allow for greater flexibility when creating plans, and reusing plan blocks in multiple situations.

For example, maybe a security certificate is only needed on production servers, so an If/Else block can be inserted so that if the server is in the Production environment, the security certificate will be installed via PowerShell.

  • Visual Mode
  • Text Mode (OtterScript)
If Else Block
If Else Text

If this is run on any non-production server, it will simply log that a certificate isn't needed.

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 454853a8 on master