def METHOD_NAME(self, args):
    'Generate a tagged pair of config.yml excerpts for the configured workflow'
    tag = args or 'misc'
    terraform_indexes = [0, 1, 2, 3]
    node_accounts = [3, 4, 5, 6]
    node_i = 0
    # First the jobs excerpt
    with open(CONFIG_YML_JOBS_PATH_TPL.format(tag), 'w') as f:
        if self.include_legacy_umbrella:
            for length in ('short', 'long'):
                job = UMBRELLA_JOB_TPL.format(length, UMBRELLA_SUFFIXES[length])
                f.write(job)
        for profile, count in self.profile_counts.items():
            for length in ('short', 'long'):
                ci_props_map = props_for(profile, DURATIONS[length])
                for i in range(count):
                    job = JOB_TPL.format(
                            length,
                            profile,
                            i,
                            ci_props_map,
                            terraform_indexes[node_i],
                            node_accounts[node_i])
                    node_i = (node_i + 1) % 4
                    f.write(job)
    # Next the workflow excerpt
    with open(CONFIG_YML_WORKFLOW_PATH_TPL.format(tag), 'w') as f:
        for profile, count in self.profile_counts.items():
            for i in range(count):
                f.write(LONG_RUN_TPL.format('long', profile, i))
        if self.include_legacy_umbrella:
            f.write(LONG_UMBRELLA_RUN)
        f.write(VALIDATE_FREEZE_HEADER)
        for profile, count in self.profile_counts.items():
            for i in range(count):
                f.write(REQUIREMENT_TPL.format(
                    JOB_NAME_TPL.format('long', profile, i)))
        for profile, count in self.profile_counts.items():
            for i in range(count):
                f.write(SHORT_RUN_TPL.format('short', profile, i))
        if self.include_legacy_umbrella:
            f.write(SHORT_UMBRELLA_RUN)
        f.write(ACCESSORY_RUN_HEADER)
        for profile, count in self.profile_counts.items():
            for i in range(count):
                f.write(REQUIREMENT_TPL.format(
                    JOB_NAME_TPL.format('short', profile, i)))