Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Add documentation for testing, change value in vars #1

Merged
merged 1 commit into from
Jul 19, 2015

Conversation

rndmh3ro
Copy link
Member

To actually test this role, one has to install mysql first. The README now reflects that.
Also skip-grant-tables was set to false, otherwise that's a security issue.

ansible-galaxy install -p roles/ bennojoy.mysql

# change password in MySQL-installation role to match the one from testing
sed -i 's/foobar/iloverandompasswordsbutthiswilldo/g' roles/bennojoy.mysql/defaults/main.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This role is not available and ignored in gitignore. How do we proceed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the plan.
I don't want to include the role itself, so the ansible-galaxy-command installs the role, then you can test it.
For normal usage of the hardening-role this role is not required.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, I got you.

chris-rock added a commit that referenced this pull request Jul 19, 2015
Add documentation for testing, change value in vars
@chris-rock chris-rock merged commit 80d1e44 into master Jul 19, 2015
@chris-rock chris-rock deleted the add_test_readme branch July 19, 2015 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants