Ansible troubleshooting - missing sudo password and incorrect sudo password

preview_player
Показать описание
How to reproduce the fatal errors `missing sudo password` and `incorrect sudo password` and how to solve it!

Timestamps
00:00 Introduction
00:34 error reproducer playbook
02:20 error reproducer execution
03:15 troubleshooting and how to fix
07:50 fixed playbook execution
08:36 Recap

BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps

my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
Рекомендации по теме
Комментарии
Автор

this exposes the system. devops can become root anytime, not just while playboo excecution

sumanthparakala
Автор

Thank you comrade. You helped me a lot!

moscow
Автор

But this isnt a fix? Its just downgrading my security to allow the other user to run any command?

christiand
Автор

Thank you so much, subscribed your channel

MrHmm-cvgs
Автор

Thank you so much stuck for hours in this.

HarshaVardhan-mrbw
Автор

amazing. thanks for sharing, i was stuck in this issue.

rehannadeem
Автор

Thank you so much su root
I thought you were working

qfsjinx
Автор

you should only use visudo to create a sudoers file!

pelama
Автор

sir, I want ask the last command isn't need -bK?
because I add my client user in sudoers.d, and try sudo is ok
but, in the control mode, when I use command with out -bK, also have the ”Missing sudo password”

hank
Автор

здравствуйте, модуль ansible.builtin.fetch не может скачать файл если не дать полные права. А какие права дать пользователю чтобы можно было скачать файлы с удаленного сервера. не давая все прав

yvdqmfy