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
OpenEdx
configuration
Commits
bec0d4ee
Commit
bec0d4ee
authored
Jun 20, 2017
by
Ned Batchelder
Committed by
Feanil Patel
Jun 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove objectionable braces from when: conditions
parent
ab9fdb72
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
16 deletions
+16
-16
playbooks/edx-east/create_rds_secondary.yml
+1
-1
playbooks/edx-east/promote_rds_secondary.yml
+2
-2
playbooks/roles/common/tasks/main.yml
+1
-1
playbooks/roles/ecommerce/meta/main.yml
+2
-2
playbooks/roles/edxapp/meta/main.yml
+1
-1
playbooks/roles/mount_ebs/tasks/main.yml
+1
-1
playbooks/roles/splunk-server/tasks/main.yml
+6
-6
playbooks/roles/splunkforwarder/tasks/main.yml
+2
-2
No files found.
playbooks/edx-east/create_rds_secondary.yml
View file @
bec0d4ee
...
...
@@ -16,7 +16,7 @@
-
name
:
Validate arguments
fail
:
msg
:
"
One
or
more
arguments
were
not
set
correctly:
{{
item
}}"
when
:
not
{{ item }}
when
:
not
item
with_items
:
-
from_db
-
rds_name
...
...
playbooks/edx-east/promote_rds_secondary.yml
View file @
bec0d4ee
...
...
@@ -21,7 +21,7 @@
-
name
:
Validate arguments
fail
:
msg
:
"
One
or
more
arguments
were
not
set
correctly:
{{
item
}}"
when
:
not
{{ item }}
when
:
not
item
with_items
:
-
rds_name
-
admin_password
...
...
@@ -52,7 +52,7 @@
-
name
:
Modify edxapp history RDS
shell
:
>
aws rds modify-db-instance
--db-instance-identifier {{ rds_name }}
--db-instance-identifier {{ rds_name }}
--apply-immediately
--multi-az
--master-user-password {{ admin_password }}
...
...
playbooks/roles/common/tasks/main.yml
View file @
bec0d4ee
...
...
@@ -2,7 +2,7 @@
-
name
:
Check Configuration Sources
fail
:
msg
:
"
Configuration
Sources
Checking
(COMMON_EXTRA_CONFIGURATION_SOURCES_CHECKING)
is
enabled,
you
must
define
{{
item
}}"
when
:
COMMON_EXTRA_CONFIGURATION_SOURCES_CHECKING and (
{{ item }} is not defined or {{ item }}
!= True)
when
:
COMMON_EXTRA_CONFIGURATION_SOURCES_CHECKING and (
item is not defined or item
!= True)
with_items
:
"
{{
COMMON_EXTRA_CONFIGURATION_SOURCES
}}"
tags
:
-
"
install"
...
...
playbooks/roles/ecommerce/meta/main.yml
View file @
bec0d4ee
...
...
@@ -9,7 +9,7 @@
#
##
# Role includes for role ecommerce
#
#
dependencies
:
-
common
-
supervisor
...
...
@@ -25,6 +25,6 @@ dependencies:
-
role
:
edx_themes
theme_users
:
-
"
{{
ecommerce_user
}}"
when
:
"
{{
ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING
}}"
when
:
ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING
-
oraclejdk
playbooks/roles/edxapp/meta/main.yml
View file @
bec0d4ee
...
...
@@ -7,4 +7,4 @@ dependencies:
-
role
:
edx_themes
theme_users
:
-
"
{{
edxapp_user
}}"
when
:
"
{{
EDXAPP_ENABLE_COMPREHENSIVE_THEMING
}}"
when
:
EDXAPP_ENABLE_COMPREHENSIVE_THEMING
playbooks/roles/mount_ebs/tasks/main.yml
View file @
bec0d4ee
...
...
@@ -23,7 +23,7 @@
src
:
"
{{
(ansible_mounts
|
selectattr('device',
'equalto',
item.device)
|
first
|
default({'device':
None})).device
}}"
fstype
:
"
{{
(ansible_mounts
|
selectattr('device',
'equalto',
item.device)
|
first
|
default({'fstype':
None})).fstype
}}"
state
:
unmounted
when
:
"
{{
UNMOUNT_DISKS
and
(ansible_mounts
|
selectattr('device',
'equalto',
item.device)
|
first
|
default({'fstype':
None})).fstype
!=
item.fstype
}}"
when
:
UNMOUNT_DISKS and (ansible_mounts | selectattr('device', 'equalto', item.device) | first | default({'fstype'
:
None})).fstype != item.fstype
with_items
:
"
{{
volumes
}}"
# Noop & reports "ok" if fstype is correct
...
...
playbooks/roles/splunk-server/tasks/main.yml
View file @
bec0d4ee
...
...
@@ -10,13 +10,13 @@
#
#
# Tasks for role splunk-server
#
#
# Overview:
#
#
#
# Dependencies:
#
#
#
# Example play:
#
#
...
...
@@ -44,7 +44,7 @@
owner
:
splunk
group
:
splunk
mode
:
"
0400"
when
:
"
{{
SPLUNK_SSL_CERT
is
defined
and
SPLUNK_SSL_CERT
|
length
>
0
}}"
when
:
SPLUNK_SSL_CERT is defined and SPLUNK_SSL_CERT | length > 0
with_together
:
-
[
forwarder.pem
,
cacert.pem
]
-
[
"
{{
SPLUNK_SSL_CERT
}}"
,
"
{{
SPLUNK_SSL_ROOT_CA
}}"
]
...
...
@@ -150,9 +150,9 @@
-
install:configuration
-
name
:
restart splunk
service
:
service
:
name
:
splunk
state
:
restarted
state
:
restarted
tags
:
-
"
install"
-
"
install:configuration"
...
...
playbooks/roles/splunkforwarder/tasks/main.yml
View file @
bec0d4ee
...
...
@@ -115,7 +115,7 @@
owner
:
splunk
group
:
splunk
mode
:
"
0400"
when
:
"
{{
item.ssl_cert
is
defined
}}"
when
:
item.ssl_cert is defined
with_items
:
"
{{
SPLUNKFORWARDER_SERVERS
}}"
-
name
:
Write root CA to disk
...
...
@@ -125,7 +125,7 @@
owner
:
splunk
group
:
splunk
mode
:
"
0400"
when
:
"
{{
item.ssl_cert
is
defined
}}"
when
:
item.ssl_cert is defined
with_items
:
"
{{
SPLUNKFORWARDER_SERVERS
}}"
-
name
:
Create inputs and outputs configuration
...
...
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