bluk / ansible-role-swiftenv

An Ansible role to install swiftenv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-swiftenv

An Ansible role to install swiftenv.

Requirements

  1. Add swiftenv to your $PATH after install.
echo 'export PATH="$HOME/.swiftenv/bin:$PATH"' >> ~/.bash_profile
  1. Run the following:
~/.swiftenv/bin/swiftenv init

Role Variables

  • swiftenv_install_path - The path to install swiftenv.

  • swiftenv_git_url - The git URL to clone swiftenv from.

  • swiftenv_git_update - If the cloned swiftenv git repository should be updated.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bluk.swiftenv }

License

Apache-2.0

About

An Ansible role to install swiftenv.

License:Apache License 2.0