Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
edx
configuration
Commits
85812f07
Commit
85812f07
authored
Mar 27, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding conditional for mongo read_only user
parent
6b125cb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
playbooks/roles/bastion/tasks/main.yml
+5
-1
No files found.
playbooks/roles/bastion/tasks/main.yml
View file @
85812f07
...
...
@@ -29,7 +29,7 @@
with_items
:
bastion_pip_pkgs
# These templates rely on there being a global
# read_only user, you must override the default
# read_only
mysql
user, you must override the default
# in order for these templates to be written out
-
template
:
>
src=mysql.sh.j2
...
...
@@ -49,6 +49,9 @@
script_name
:
ora-rds.sh
when
:
COMMON_MYSQL_READ_ONLY_PASS
# These templates rely on there being a global
# read_only mongo user, you must override the default
# in order for these templates to be written out
-
template
:
>
src=mongo.sh.j2
dest=/home/{{ item[0] }}/{{ item[1].script_name }}
...
...
@@ -64,3 +67,4 @@
db_name
:
"
{{
FORUM_MONGO_DATABASE
}}"
db_port
:
"
{{
FORUM_MONGO_PORT
}}"
script_name
:
forum-mongo.sh
when
:
COMMON_MONGO_READ_ONLY_PASS
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