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
637040e4
Unverified
Commit
637040e4
authored
Jul 05, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
YAML syntax for ansible tasks
parent
eefa76e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
playbooks/roles/go-agent/tasks/main.yml
+19
-17
No files found.
playbooks/roles/go-agent/tasks/main.yml
View file @
637040e4
...
...
@@ -30,29 +30,31 @@
# - common
#
-
name
:
i
nstall go-agent aptitude repository
-
name
:
I
nstall go-agent aptitude repository
apt_repository
:
repo="{{ GO_AGENT_APT_SOURCE }}"
repo
:
"
{{
GO_AGENT_APT_SOURCE
}}"
state
:
present
-
name
:
i
nstall aptitude key for go-agent/go-agent
-
name
:
I
nstall aptitude key for go-agent/go-agent
apt_key
:
url="{{ GO_AGENT_APT_KEY_URL }}"
url
:
"
{{
GO_AGENT_APT_KEY_URL
}}"
state
:
present
-
name
:
i
nstall go-agent using apt-get
-
name
:
I
nstall go-agent using apt-get
apt
:
name="{{ GO_AGENT_APT_NAME }}"="{{ GO_AGENT_VERSION }}"
update_cache=yes
name
:
"
{{
GO_AGENT_APT_NAME
}}"="{{ GO_AGENT_VERSION }}"
update_cache
:
yes
state
:
present
-
name
:
i
nstall go-agent configuration
-
name
:
I
nstall go-agent configuration
template
:
src
=edx/app/go-agent/go-agent.j2
dest
={{ GO_AGENT_CONF_HOME }}/go-agent
mode
=0644
owner
={{ GO_AGENT_USER }}
group
={{ GO_AGENT_GROUP }}
src
:
"
edx/app/go-agent/go-agent.j2"
dest
:
"
{{
GO_AGENT_CONF_HOME
}}/go-agent"
mode
:
"
0644"
owner
:
"
{{
GO_AGENT_USER
}}"
group
:
"
{{
GO_AGENT_GROUP
}}"
-
name
:
r
estart go-agent
-
name
:
R
estart go-agent
service
:
name="{{ GO_AGENT_SERVICE_NAME }}"
state="restarted"
name
:
"
{{
GO_AGENT_SERVICE_NAME
}}"
state
:
restarted
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