Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
common-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 41d4f5ed
authored
Nov 16, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
ee45df69
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
13 deletions
clean_tmp.yml
directory.yml
formatparition.yml
mountpartition.yml
partitions.yml
preapp.yml
upload_application.yml
upload_software.yml
upload_softwareconfiguration.yml
user.yml
clean_tmp.yml
View file @
41d4f5e
...
...
@@ -7,4 +7,7 @@
state
:
absent
-
file
:
path
:
/tmp/configuration
state
:
absent
-
file
:
path
:
/tmp/application
state
:
absent
\ No newline at end of file
directory.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
Create WDCHAT Directory Structure
...
...
@@ -9,8 +9,9 @@
group
:
"
{{
item.owner
}}"
state
:
directory
with_items
:
-
{
owner
:
root
,
path
:
/opt/stack
}
-
{
owner
:
root
,
path
:
/opt/stack
/dma/conf
}
-
{
owner
:
root
,
path
:
/home/chroot/wdftp
}
-
{
owner
:
root
,
path
:
/data
}
-
{
owner
:
wildfly
,
path
:
/upload
}
-
{
owner
:
wildfly
,
path
:
/archive
}
-
{
owner
:
wildfly
,
path
:
/dmaimg
}
...
...
formatparition.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
...
...
@@ -10,4 +10,5 @@
-
{
device
:
/dev/vdc1
}
-
{
device
:
/dev/vdc2
}
-
{
device
:
/dev/vdc3
}
-
{
device
:
/dev/vdc4
}
mountpartition.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
...
...
@@ -12,4 +12,5 @@
-
{
device
:
/dev/vdc1
,
path
:
/opt
}
-
{
device
:
/dev/vdc2
,
path
:
/upload
}
-
{
device
:
/dev/vdc3
,
path
:
/archive
}
-
{
device
:
/dev/vdc4
,
path
:
/data
}
partitions.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
Create partiton
...
...
@@ -11,6 +11,7 @@
state
:
present
# part_type: logical
with_items
:
-
{
device
:
"
/dev/vdc"
,
number
:
"
1"
,
start
:
"
0%"
,
end
:
"
50GiB"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
2"
,
start
:
"
51GiB"
,
end
:
"
100GiB"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
3"
,
start
:
"
101GiB"
,
end
:
"
100%"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
1"
,
start
:
"
0"
,
end
:
"
100GiB"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
2"
,
start
:
"
101GiB"
,
end
:
"
200GiB"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
3"
,
start
:
"
201GiB"
,
end
:
"
250GiB"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
4"
,
start
:
"
251GiB"
,
end
:
"
100%"
}
preapp.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
Run the equivalent of "apt-get update" as a separate step
...
...
upload_application.yml
View file @
41d4f5e
---
-
hosts
:
all
-
hosts
:
install-wdchat-dma
become
:
true
tasks
:
-
copy
:
...
...
upload_software.yml
View file @
41d4f5e
---
-
hosts
:
all
-
hosts
:
install-wdchat-dma
become
:
true
tasks
:
-
copy
:
...
...
upload_softwareconfiguration.yml
View file @
41d4f5e
---
-
hosts
:
all
-
hosts
:
install-wdchat-dma
become
:
true
tasks
:
-
copy
:
...
...
user.yml
View file @
41d4f5e
---
-
hosts
:
new
_
host
-
hosts
:
new
-
host
become
:
true
tasks
:
-
name
:
Create Groups
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment