My Public Notepad
Bits and bobs about computers and programming
Pages
(Move to ...)
Home
DevOps
Software Engineering
Security
Data Science
Disclaimer
About
▼
Saturday, 29 October 2022
ec2-user on Amazon Linux 2
›
I'm running an EC2 instance based on Amazon Linux 2 AMI: $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID=...
Friday, 28 October 2022
Configuring vi on Ubuntu
›
With fresh Ubuntu 22.04.1 LTS (Jammy Jellyfish) installation my vi editor in INSERT mode behaved like this: Arrow Up/Down/Left/Right prints...
Wednesday, 19 October 2022
How to fix Ansible error "Failed to connect to the host via ssh: Unable to negotiate with 127.0.0.1"
›
On my Ubuntu 22.04 box I had a case where Packer was executing Ansible template and Gathering Facts task was failing with the following erro...
Friday, 14 October 2022
Symbolic Links (symlinks)
›
linux - Find out symbolic link target via command line - Server Fault unix shell - How to ls and know the target of symbolic links in one ...
Monday, 8 August 2022
Git strategies for applying bug fixes
›
$ mkdir test $ cd test $ git init Initialised empty Git repository in /home/bojan/dev/test/.git/ $ git status On branch master No comm...
Friday, 15 July 2022
Unix Shell Redirection
›
Redirection operators > and >> can write into a file or a device. > will overwrite existing file or crate a new file >> wi...
Thursday, 7 July 2022
How to run a basic Ansible playbook locally
›
Here is an example of the simplest Ansible playbook: hello_world.yaml: --- - name: Run Ansible playbook locally hosts: localhost gathe...
‹
›
Home
View web version