Project

Profile

Help

Refactor #2892

use of 'sudo' not ideal in ansible task

Added by kdelee@redhat.com about 3 years ago. Updated over 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Packaging:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Some tasks running shell commands use "sudo" explicitly, this is not ideal. Example: [0]
Instead, use of "become: True" is preferred. See ansible docs on "become" [1]

[0] https://github.com/pulp/pulp_packaging/blob/master/ci/ansible/roles/pulp/tasks/main.yaml#L130-L146
[1] http://docs.ansible.com/ansible/become.html

History

#1 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF