@task
@with_validation
def generate(directory=None):
    '\n    Generate configuration files.\n    '
    for conffiles in iter_conffiles(directory):
        status("Generating templates for '{environment}' and '{role}'", environment=conffiles.environment, role=conffiles.role)
        conffiles.generate()
Generate configuration files.
@task
@with_validation
def generate(directory=None):
    '\n    \n    '
    for conffiles in iter_conffiles(directory):
        status("Generating templates for '{environment}' and '{role}'", environment=conffiles.environment, role=conffiles.role)
        conffiles.generate()