Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mysql-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
mysql-client
Commits
d113b46a
Commit
d113b46a
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Install new python dependency
parent
7e8c576c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+11
-3
11 additions, 3 deletions
tasks/main.yml
with
11 additions
and
3 deletions
tasks/main.yml
+
11
−
3
View file @
d113b46a
...
...
@@ -9,7 +9,7 @@
-
block
:
-
name
:
MySQL Client |
Install required packages
-
name
:
Install required packages
apt
:
pkg
:
'
{{
packages
}}'
state
:
present
...
...
@@ -18,7 +18,7 @@
-
mysql-client
-
mytop
-
name
:
MySQL Client |
Config for easy access for admins
-
name
:
Config for easy access for admins
template
:
src
:
admin_my_cnf
dest
:
/home/{{ item }}/.my.cnf
...
...
@@ -27,7 +27,7 @@
mode
:
0644
with_items
:
'
{{
admins
}}'
-
name
:
MySQL Client |
Config for easy access for root
-
name
:
Config for easy access for root
template
:
src
:
admin_my_cnf
dest
:
/root/.my.cnf
...
...
@@ -35,4 +35,12 @@
group
:
root
mode
:
0644
-
name
:
Install PIP packages
pip
:
name
:
'
{{
packages
}}'
state
:
present
vars
:
packages
:
-
PyMySQL
when
:
not excluded_roles or "mysql-client" not in excluded_roles
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment