Skip to content

Conversation

@colstrom
Copy link
Owner

@colstrom colstrom commented Apr 30, 2016

The intended functionality can be salvaged, but the implementation requires significant rework.

  • global import argparse is not kosher.
  • self_provision() branch complexity is too high.
  • get_dependencies() does surprising things now (downloads roles, but not playbooks).
  • The entire argument parsing section is inappropriately scoped.
  • relying on global args is sloppy.
  • args.skip_* littered all over the place obscures function responsibility.
    • args.skip_download could be a single guard clause in download_from_s3(), for instance.
  • argparse should only be imported if len(sys.argv) > 1.

colstrom and others added 30 commits May 6, 2015 11:55
Scan for SSH host keys, rather than ignoring them entirely.
Added git to dependencies.
run python in hardcore mode with sudo
Added support for vars/vaults.
Now configures environments and sorts playbook order.
Write system_role to group_vars/local.yml
Added downloading of reforge command, if present.
update docs (include taiga wiki/misc updates)
Updated permissions to avoid side-effects.
Add pre- and post- hooks for playbooks, closes #5.
forge now stores the exit codes of each playbook
write status to temp not to current working dir
kkwoker and others added 30 commits May 3, 2016 17:34
renaming arguments to align with the names used in bootstrap.py
Enable the ability to import templates from playbooks.
Add skipping the role playbook with forge. Also check for a playbook existing before trying to execute it.
new version causing playbook errors
convert subprocess output bytes to a dict
Need to transform the tags fetched via awscli to a usable internal format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.