Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #29260 - Add -y flag for yum command #8599

Merged
merged 1 commit into from
Mar 9, 2020
Merged

Conversation

loitho
Copy link
Contributor

@loitho loitho commented Mar 5, 2020

Hi there,
As described in : https://projects.theforeman.org/issues/29260
And https://community.theforeman.org/t/using-sudo-su-for-privilege-escalation/17635/4

The Katello Ansible Default templates that are using Ansible shell commands directly for creating Yum action like update are missing a "-y" flag which makes them hang

This fixes the problem by adding the missing -y flag on each template that was missing it.

The Katello Ansible default action using yum with ansible shell command
were missing a -y flag which made them hang when used on a host
@theforeman-bot
Copy link

Can one of the admins verify this patch?

@theforeman-bot
Copy link

Issues: #29260

@ares
Copy link
Contributor

ares commented Mar 5, 2020

👍

question for katello maintainers - is there a sync script that would automate this? should we drop templates from this repo and start seeding it from community templates? templates can contain requirements from now, so they wouldn't be seeded if Katello is not available

@ianballou
Copy link
Member

@ares we don't have any processes right now in Katello for keeping the job templates in this repo synced with the community templates. I agree that it would be better to either add a way to sync or start having Katello seed from the community templates. I will make an issue on redmine about it.

@ianballou
Copy link
Member

[test katello]

@ianballou ianballou merged commit 21bffba into Katello:master Mar 9, 2020
jjeffers pushed a commit to jjeffers/katello that referenced this pull request May 20, 2020
The Katello Ansible default action using yum with ansible shell command
were missing a -y flag which made them hang when used on a host
(cherry picked from commit 21bffba)
jjeffers pushed a commit that referenced this pull request May 22, 2020
The Katello Ansible default action using yum with ansible shell command
were missing a -y flag which made them hang when used on a host
(cherry picked from commit 21bffba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants