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 dff85b4c
authored
Apr 28, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
2bf03ec4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
clean_tmp.yml
cleanserver.yml
clean_tmp.yml
deleted
100644 → 0
View file @
2bf03ec
---
-
hosts
:
all
become
:
true
tasks
:
-
file
:
path
:
/tmp/source
state
:
absent
-
file
:
path
:
/tmp/configuration
state
:
absent
-
file
:
path
:
/tmp/application
state
:
absent
\ No newline at end of file
cleanserver.yml
0 → 100644
View file @
dff85b4
---
-
hosts
:
FormatAppDisk
become
:
true
tasks
:
# Read device information (always use unit when probing)
-
parted
:
device={{ app_disk }} unit=MiB
register
:
sdb_info
# Remove all partitions from disk
-
parted
:
device
:
{{
app_disk
}}
number
:
"
{{
item.num
}}"
state
:
absent
with_items
:
-
"
{{
sdb_info.partitions
}}"
\ No newline at end of file
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