Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
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
ansible
Commits
8336cd7f
Commit
8336cd7f
authored
Feb 20, 2014
by
James Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for no change in test_yum
parent
f51e1601
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
+22
-1
tests_new/integration/roles/test_yum/tasks/yum.yml
+22
-1
No files found.
tests_new/integration/roles/test_yum/tasks/yum.yml
View file @
8336cd7f
...
...
@@ -17,6 +17,16 @@
-
"
yum_result.rc
==
0"
-
"
rpm_result.rc
==
1"
# UNINSTALL AGAIN
-
name
:
uninstall sos again
yum
:
name=sos state=removed
register
:
yum_result
-
name
:
verify no change on re-uninstall
assert
:
that
:
-
"
not
yum_result.changed"
# INSTALL
-
name
:
install sos
yum
:
name=sos state=present
...
...
@@ -46,4 +56,15 @@
-
"
'msg'
in
yum_result"
-
"
'rc'
in
yum_result"
-
"
'results'
in
yum_result"
# INSTALL AGAIN
-
name
:
install sos again
yum
:
name=sos state=present
register
:
yum_result
-
name
:
verify no change on second install
assert
:
that
:
-
"
not
yum_result.changed"
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