Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Stuffs from real IT system ADMINISTRATORS world and my LAB

How to install Ansible AWX on Ubuntu using Kubernetes K8S

This is step by step in the detailed installation guide of Ansible AWX operator (Automation controller Tower). On this channel earlier I had written 2 articles on how to install Ansible AWX operator but they are no longer valid as the installation instruction has been changed. For any new changes you can check the article. https://github.com/ansible/awx-operator

Before starting you need Kub…

Read more

Can not execute kustomize build issue installing Ansible AWX Operator

While installing Ansible AWX operator tower (Automation Controller) for the development team, I was receiving the below error. I was following the official installation guide given from https://github.com/ansible/awx-operator.

kustomize kustomization.yaml yml kubernetes manifest configuration vmware vsphere ansible awx operator azure ansible platform automation controller tower setup sevalsymlink git.jpg

ubuntu@AnsibleAWX:~$
ubuntu@AnsibleAWX:~$ kustomize build . | kubectl apply -f -
Error: accumulating resources: accumulation err='accumulating resources from '…

Read more

Rancher k3s.yaml permission denied when using kubectl - Kubernetes

While working with Install and Setup your own Kubernetes Cluster with K3s, I installed K3s as a non sudo root user. After complete installation when running any kubectl command I was receiving the below error.

ubuntu@AnsibleAWX:~$
ubuntu@AnsibleAWX:~$ kubectl get nodes
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube con…

Read more

Install and Setup your own Kubernetes Cluster with K3s

K3s is a trivial, lightweight, easy to install, implement, and operate version of standard Kubernetes (K8s). The main part is it is not a fork of Kubernetes. K3s is a certified Kubernetes lightweight distribution. It can be used to run production workload as well. I found it is easier to install K3S than Minikube How to Install Minikube on Ubuntu - Step by Step

I am installing K3s on the …

Read more

MINIKUBE Unable to start VM - This computer doesn't have VT-X AMD-v enabled

While setting up and starting minikube in my lab How to Install Minikube on Ubuntu - Step by Step, I was receiving two errors. First error was related to not running minikube start as root privileges. Which was resolved after existing from the root account and running minikube as a normal user.

But another error occurred related to Intel VT-X/AMD-V not enabled after running minikube start aga…

Read more

How to Install Minikube on Ubuntu - Step by Step

This is a step by step guide to install Minikube on the Ubuntu Linux system. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. Minikube is very good option for testing kubernetes (k8s) if you don't have much compute resources in your system …

Read more

Using Ansible to Manage Windows Servers initial setup – Step by Step

In this article I will be configuring and connecting Ansible server and Windows host for Microsoft Windows system configuration management. First prepare Ansible host by installing ansible.windows collection with ansible-galaxy command. Next install pywinrm and python3-winrm Python packages with pip3 command. 

Although the next task of checking nslookup is not necessary, but I will check i…

Read more

PowerCLI enable or disable WBEM service on VMware ESXi server

The VMware Host Hardware (WBEM) sensor monitors information about the hardware of an ESXi server using Web-based Enterprise Management (WBEM). This script will disable and enable WBEM service using PowerCLI.

Download this Set-WbemServiceEsxi.ps1 here or it is also available on github.com/janviudapi.

Microsoft PowerShell vmware vsphere esxi vcenter wbem powercli esxcli software service enable disable sendor information automation.jpg

In the core of the script it uses VMware PowerCLI esxcli to modify WBEM service.

Read more

Executing PowerShell script from PHP HTML web server

Recently I was reading some Advanced Python coding books, I was especially fascinated by the Flask module. This project is an outcome of the same, If similar can be achieved with PowerShell and HTML, I wrote some code in HTML, PHP and PowerShell and it is working well after testing. Here in this project I used PHP code to get HTML input. Pass that information from PHP to PowerShell as a parameter …

Read more

Find and use Azure Marketplace VM images with Azure Az CLI

There is another way to Find and use Azure Marketplace VM images with Azure PowerShell. You can do the same task to fetch Azure VM information using is az cli. There are two common images UbuntuServer and MicrosoftWindowsServer. Here I will work with Ubuntu images to get information from az cli commands.

Microsoft Azure az cli az vm image show --location --urn canonical ubuntuserver 18.04-LTS latest disk image vmdisktype exetended location publisher hypergv generation.jpg

The first command is to list all the available publishers in Azure marketplace. Sh…

Read more

View older posts »

Page Views

8643110

Hi Kunal,

Fantastic article.

I loved it and it was very useful to me as I learned how you can use commandline to work with Git.

Thank you so much for this article.

Regards,
Ashish Arya

I like this version as well.

$copy = Get-ADUser (Read-host "Enter username to copy from: ")
$paste = Get-ADUser (Read-host "Enter username to copy to: ")
Get-ADPrincipalGroupMembership $copy | ForEach-Object {Add-ADGroupMember -Identity $_ -Members $paste}

Check the syntax. I had the same issues because I defined user.emails instead of user.email

Thanks man, the only article I found the answer.

Helped me, worked in vCenter 8.

Follow me on Blogarama