A collection of links for ansible.
- Ansible documentation (official)
A collection of links for ansible.
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Ansible role test shim. | |
# | |
# Usage: [OPTIONS] ./tests/test.sh | |
# - distro: a supported Docker distro version (default = "centos7") | |
# - playbook: a playbook in the tests directory (default = "test.yml") | |
# - role_dir: the directory where the role exists (default = $PWD) | |
# - cleanup: whether to remove the Docker container (default = true) | |
# - container_id: the --name to set for the container (default = timestamp) |
desc <<-END_DESC | |
Seed sample data for benchmark tests - do not use it with production data! | |
Examples: | |
# get this script | |
cd $REDMINE_ROOT | |
wget -O lib/tasks/sample_data.rb https://gist.githubusercontent.com/alexandermeindl/ed6ae8a199f1b4869ca0f581b9d94f16/raw | |
# prepare base redmine data | |
export RAILS_ENV=test | |
bundle exec rake db:drop db:create db:migrate |