qansible
provides helper scripts to create and maintain ansible
roles.
qansible init
creates a scaffold. ansible qa
performs static
analysis.
git
bundler
git clone https://github.com/trombik/qansible.git
cd qansible
bundle install --without "development test" --path vendor/bundle
bundle exec rake build
Run gem
WITHOUT bundler
.
gem install --user-install pkg/qansible-$VERSION.gem
Make sure ~/.gem/ruby/$RUBYVERSION/bin
is in your PATH
environment
variable. Run gem env
to see PATH
. After adding the path to PATH
, run:
qansible --version
The command should show version number.
gem uninstall qansible
Creates an ansible
role in the current directory and perform git init
.
ROLENAME
must start with ansible-role-
.
Perform static analysis in the current directory.
Fork and clone the repository. Then:
cd qansible
bundle install --path vendor/bundle --with "test development"
Open another terminal. Run guard
.
bundle exec guard