FIX ERROR – CentOS 7 kubectl: Invalid choice: ‘eks’, maybe you meant

When trying to execute any “kubectl” command on an EKS cluster, the following error occurs: Invalid choice: ‘eks’, maybe you meant:   A possible reason for this is the old version of “kubectl” available in the repository.   Solution: Install the latest version of “kubectl” using PIP3   To use “kubectl” installed using PIP, you … Continue reading "FIX ERROR – CentOS 7 kubectl: Invalid choice: ‘eks’, maybe you meant"

FIX ERROR – Ansible AWS SSM: AnsibleError: An unhandled exception occurred while templating

When trying to get a value from AWS SSM, Ansible Playbook using Python3 as an interpreter generates the following error: fatal: [localhost-py3]: FAILED! => {“changed”: false, “msg”: “AnsibleError: An unhandled exception occurred while templating ‘{{ lookup(‘aws_ssm’, ‘server_listeners’, decrypt=false, region=’eu-west-1′) }}’. Error was a <class ‘ansible.errors.AnsibleError’>, original message: An unhandled exception occurred while running the lookup … Continue reading "FIX ERROR – Ansible AWS SSM: AnsibleError: An unhandled exception occurred while templating"