In Ansible, if you run a task that has some module’s parameter with a variable that is not set you will get “The task includes an option with an undefined variable” error. If for some reason you can’t or don’t want to define this variable, you can make it optional. In this case Ansible will […]
Blog
Rename User Folder in Windows
User profiles in Windows on the most of computers are usually located in the folder C:\users\. By default, the user folder name is the same as you user name. But if you change your user name, the old name of your user folder will remain and you may want to rename it as well. The […]
PasswordNeverExpires: Disable Password Expiration
A password expiration is a feature in Windows that forces users to change their passwords after a certain number of days. When it is time to change your password, Windows will send you a “Consider changing your password” notification. In this note i will show several ways of how to disable the password expiration of […]
Change User Name of Local Account in Windows
There may be different reasons for changing a local user account name in Windows. For example, you may want to change the name on the sign-in screen to your actual name instead of the nickname or vice versa. This short note describes the easiest way of changing a user name of the local account in […]
Disable Startup Programs in Windows
It is quite annoying when some apps are not expected to, but they are automatically opening on startup in Windows. And it raises a perfectly logical question, how to stop such apps from running at startup. In this note i will show the easiest and the most efficient way of how to find ALL startup […]
You Need Permission to Perform This Action [FIXED]
While trying to delete, copy, move or rename some files or folders in Windows you may get the error: “You need permission to perform this action” followed by “You require permission from the computer’s administrator to make changes to this file or folder“. This “Access Denied” error means that you are not authorized to make […]
Kubernetes: Get ServiceAccount Permissions/Roles
A Service Account in Kubernetes is a special type of non-human privileged account that provides an identity for processes that run in a Pod. When you create a Pod, if you do not specify a Service Account, it is automatically assigned the default Service Account in the same Namespace. This note shows how to list […]
Python: Check Package Version
While working with Python you may wonder what is the version of a certain Python package (library) that you are using. There are several ways of how to get the version of a package or module in Python. This note describes how to check the version of Python packages from a Python shell, from a […]
Python: Login to Website – Selenium
Selenium is an open source tool that automates web browsers and is widely used for automated testing of web applications. With Python and Selenium you can easily create a script that automates login to a website, that is very useful, for example, for web scraping. This note shows how to create a Python script to […]
Kubernetes: Node ‘NotReady’ [SOLVED]
When a Node in a Kubernetes cluster crashes or shuts down, it enters the ‘NotReady‘ state in which it can’t be used to run Pods and all stateful Pods running on it become unavailable. Common reasons of the ‘NotReady‘ error include a lack of resources on the Node, connectivity issue between the Node and the […]