This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set ft=python: | |
"""Deterministic "random" numbers jinja filter for ansible. | |
Place in filter_plugins/ to use. | |
""" | |
import random | |
def determrand(high, seed, low=0): |