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 a97cd4b9
authored
Feb 01, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Group Name (inventory) by adding step number in front of group name
1 parent
a73134ba
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
14 deletions
deployAnsible.yml
directory.yml
formatparition.yml
hardening.yml
mountpartition.yml
partitions.yml
preapp.yml
user.yml
deployAnsible.yml
View file @
a97cd4b
---
---
-
hosts
:
install-ansible
-
hosts
:
01_
install-ansible
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
New Ansbile Group
-
name
:
New Ansbile Group
...
...
directory.yml
View file @
a97cd4b
---
---
-
hosts
:
new-host
-
hosts
:
03_
new-host
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Create WDCHAT Directory Structure
-
name
:
Create WDCHAT Directory Structure
...
...
formatparition.yml
View file @
a97cd4b
---
---
-
hosts
:
vdc-disk
-
hosts
:
02_
vdc-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
-
{
device
:
/dev/vdc2
}
-
{
device
:
/dev/vdc2
}
-
{
device
:
/dev/vdc3
}
-
{
device
:
/dev/vdc3
}
-
{
device
:
/dev/vdc4
}
-
{
device
:
/dev/vdc4
}
-
hosts
:
sdb-disk
-
hosts
:
02_
sdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
-
{
device
:
/dev/sdb3
}
-
{
device
:
/dev/sdb3
}
-
{
device
:
/dev/sdb4
}
-
{
device
:
/dev/sdb4
}
-
hosts
:
vdb-disk
-
hosts
:
02_
vdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
-
name
:
"
Format
disk:
\"
{{
item.device
}}
\"
using
etx4"
...
...
hardening.yml
View file @
a97cd4b
---
---
-
hosts
:
new-host
-
hosts
:
03_
new-host
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Hardening Ubuntu OS Disable IPv6
-
name
:
Hardening Ubuntu OS Disable IPv6
...
...
mountpartition.yml
View file @
a97cd4b
---
---
-
hosts
:
vdc-disk
-
hosts
:
03_
vdc-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
-
{
device
:
/dev/vdc2
,
path
:
/upload
}
-
{
device
:
/dev/vdc2
,
path
:
/upload
}
-
{
device
:
/dev/vdc3
,
path
:
/archive
}
-
{
device
:
/dev/vdc3
,
path
:
/archive
}
-
{
device
:
/dev/vdc4
,
path
:
/data
}
-
{
device
:
/dev/vdc4
,
path
:
/data
}
-
hosts
:
sdb-disk
-
hosts
:
03_
sdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
-
{
device
:
/dev/sdb3
,
path
:
/archive
}
-
{
device
:
/dev/sdb3
,
path
:
/archive
}
-
{
device
:
/dev/sdb4
,
path
:
/data
}
-
{
device
:
/dev/sdb4
,
path
:
/data
}
-
hosts
:
vdb-disk
-
hosts
:
03_
vdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
-
name
:
"
Mount
up
\"
{{
item.device
}}
\"
to
\"
{{
item.path
}}
\"
"
...
...
partitions.yml
View file @
a97cd4b
---
---
-
hosts
:
vdc-disk
-
hosts
:
03_
vdc-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Create partiton
-
name
:
Create partiton
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
-
{
device
:
"
/dev/vdc"
,
number
:
"
3"
,
start
:
"
81%"
,
end
:
"
90%"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
3"
,
start
:
"
81%"
,
end
:
"
90%"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
4"
,
start
:
"
91%"
,
end
:
"
100%"
}
-
{
device
:
"
/dev/vdc"
,
number
:
"
4"
,
start
:
"
91%"
,
end
:
"
100%"
}
-
hosts
:
sdb-disk
-
hosts
:
03_
sdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Create partiton
-
name
:
Create partiton
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
-
{
device
:
"
/dev/sdb"
,
number
:
"
3"
,
start
:
"
81%"
,
end
:
"
90%"
}
-
{
device
:
"
/dev/sdb"
,
number
:
"
3"
,
start
:
"
81%"
,
end
:
"
90%"
}
-
{
device
:
"
/dev/sdb"
,
number
:
"
4"
,
start
:
"
91%"
,
end
:
"
100%"
}
-
{
device
:
"
/dev/sdb"
,
number
:
"
4"
,
start
:
"
91%"
,
end
:
"
100%"
}
-
hosts
:
vdb-disk
-
hosts
:
03_
vdb-disk
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Create partiton
-
name
:
Create partiton
...
...
preapp.yml
View file @
a97cd4b
---
---
-
hosts
:
new-host
-
hosts
:
03_
new-host
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Run the equivalent of "apt-get update" as a separate step
-
name
:
Run the equivalent of "apt-get update" as a separate step
...
...
user.yml
View file @
a97cd4b
---
---
-
hosts
:
new-host
-
hosts
:
03_
new-host
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Create Groups
-
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