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
341da195
Commit
341da195
authored
Dec 22, 2014
by
Max Rothman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1755 from edx/max/fix_notifier_defaults
Fix notifier role defaults never working
parents
b95ad648
e1b915b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/notifier/defaults/main.yml
+1
-1
playbooks/roles/notifier/tasks/deploy.yml
+3
-3
No files found.
playbooks/roles/notifier/defaults/main.yml
View file @
341da195
...
...
@@ -19,7 +19,7 @@ NOTIFIER_THEME_NAME: ""
NOTIFIER_THEME_REPO
:
"
"
NOTIFIER_THEME_VERSION
:
"
master"
notifier_git_ssh
:
"
/tmp/notifier_git_ssh.sh"
NOTIFIER_GIT_IDENTITY
:
!!null
NOTIFIER_GIT_IDENTITY
:
"
"
notifier_git_identity
:
"
{{
NOTIFIER_HOME
}}/notifier-git-identity"
NOTIFIER_DIGEST_EMAIL_SENDER
:
"
notifications@example.com"
...
...
playbooks/roles/notifier/tasks/deploy.yml
View file @
341da195
...
...
@@ -16,19 +16,19 @@
template
:
>
src=git_ssh_noauth.sh.j2 dest={{ notifier_git_ssh }}
owner={{ NOTIFIER_USER }} mode=750
when
:
not NOTIFIER_USE_GIT_IDENTITY
when
:
NOTIFIER_GIT_IDENTITY == ""
-
name
:
create ssh script for git (authenticated)
template
:
>
src=git_ssh_auth.sh.j2 dest={{ notifier_git_ssh }}
owner={{ NOTIFIER_USER }} mode=750
when
:
NOTIFIER_
USE_GIT_IDENTITY
when
:
NOTIFIER_
GIT_IDENTITY != ""
-
name
:
install read-only ssh key
copy
:
>
content="{{ NOTIFIER_GIT_IDENTITY }}" dest={{ notifier_git_identity }}
force=yes owner={{ NOTIFIER_USER }} mode=0600
when
:
NOTIFIER_
USE_GIT_IDENTITY
when
:
NOTIFIER_
GIT_IDENTITY != ""
-
name
:
checkout theme
git
:
>
...
...
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