Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
bfe3e97e
Commit
bfe3e97e
authored
Aug 28, 2012
by
Mark Theunissen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the example playbook for the new MySQL parameter format
parent
f9e97531
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
examples/playbooks/mysql.yml
+4
-7
No files found.
examples/playbooks/mysql.yml
View file @
bfe3e97e
...
...
@@ -6,16 +6,13 @@
-
hosts
:
all
user
:
root
vars
:
mysql_root_password
:
'
password'
tasks
:
-
name
:
Create database user
action
:
mysql_user
loginpass=$mysql_root_password user=bob passw
d=12345 priv=*.*:ALL state=present
action
:
mysql_user
user=bob passwor
d=12345 priv=*.*:ALL state=present
-
name
:
Create database
action
:
mysql_db
loginpass=$mysql_root_password
db=bobdata state=present
action
:
mysql_db db=bobdata state=present
-
name
:
Ensure no user named 'sally' exists
action
:
mysql_user
loginpass=$mysql_root_password
user=sally state=absent
-
name
:
Ensure no user named 'sally' exists
and delete if found.
action
:
mysql_user user=sally state=absent
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment