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
e2cae5d7
Unverified
Commit
e2cae5d7
authored
Jul 15, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the standard list for src,dest and mode
parent
d3ff2e07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
playbooks/roles/hadoop_common/tasks/main.yml
+13
-13
No files found.
playbooks/roles/hadoop_common/tasks/main.yml
View file @
e2cae5d7
...
...
@@ -98,28 +98,28 @@
-
name
:
Configuration installed
template
:
src
:
"
{{
item
}}.j2
"
dest
:
"
{{
HADOOP_COMMON_CONF_DIR
}}/{{
item
}}"
mode
:
"
0640
"
src
:
"
{{
item
.src
}}
"
dest
:
"
{{
HADOOP_COMMON_CONF_DIR
}}/{{
item
.dest
}}"
mode
:
"
{{
item.mode
}}
"
owner
:
"
{{
hadoop_common_user
}}"
group
:
"
{{
hadoop_common_group
}}"
with_items
:
-
hadoop-env.sh
-
mapred-site.xml
-
core-site.xml
-
hdfs-site.xml
-
yarn-site.xml
-
{
src
:
'
hadoop-env.sh.j2'
,
dest
:
'
hadoop-env.sh'
,
mode
:
'
0640'
}
-
{
src
:
'
mapred-site.xml.j2'
,
dest
:
'
mapred-site.xml'
,
mode
:
'
0640'
}
-
{
src
:
'
core-site.xml.j2'
,
dest
:
'
core-site.xml'
,
mode
:
'
0640'
}
-
{
src
:
'
hdfs-site.xml.j2'
,
dest
:
'
hdfs-site.xml'
,
mode
:
'
0640'
}
-
{
src
:
'
yarn-site.xml.j2'
,
dest
:
'
yarn-site.xml'
,
mode
:
'
0640'
}
-
name
:
Upstart scripts installed
template
:
src
:
"
{{
item
}}.j2
"
dest
:
"
/etc/init/{{
item
}}"
mode
:
"
0640
"
src
:
"
{{
item
.src
}}
"
dest
:
"
/etc/init/{{
item
.dest
}}"
mode
:
"
{{
item.mode
}}
"
owner
:
root
group
:
root
with_items
:
-
hdfs.conf
-
yarn.conf
-
{
src
:
'
hdfs.conf.j2'
,
dest
:
'
hdfs.conf'
,
mode
:
'
0640'
}
-
{
src
:
'
yarn.conf.j2'
,
dest
:
'
yarn.conf'
,
mode
:
'
0640'
}
-
name
:
Hadoop env file exists
file
:
...
...
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