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
70595280
Commit
70595280
authored
Jun 09, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning up svr4pkg commit fix for #7645
parent
fadf02d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
library/packaging/svr4pkg
+8
-8
No files found.
library/packaging/svr4pkg
View file @
70595280
...
...
@@ -209,18 +209,18 @@ def main():
(
rc
,
out
,
err
)
=
package_uninstall
(
module
,
name
,
src
,
category
)
out
=
out
[:
75
]
#Success,Warning,Interruption,Reboot all,
Reboot this return codes
if
rc
i
s
0
or
rc
is
2
or
rc
is
3
or
rc
is
10
or
rc
is
20
:
# Success, Warning, Interruption, Reboot all,
Reboot this return codes
if
rc
i
n
(
0
,
2
,
3
,
10
,
20
):
result
[
'changed'
]
=
True
#no install nor uninstall, or failed
#
no install nor uninstall, or failed
else
:
result
[
'changed'
]
=
False
#
Fatal error,Administration,
Administration Interaction return codes
if
rc
i
s
1
or
rc
is
4
or
rc
is
5
:
result
[
'failed'
]
=
True
#
Fatal error, Administration,
Administration Interaction return codes
if
rc
i
n
(
1
,
4
,
5
)
:
result
[
'failed'
]
=
True
else
:
result
[
'failed'
]
=
False
result
[
'failed'
]
=
False
if
out
:
result
[
'stdout'
]
=
out
...
...
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