Run an Ansible playbook against an IP
- Read more about Run an Ansible playbook against an IP
- Log in or register to post comments
Generate SSH Key on your system
$ ssh-keygen -t ed25519 -C "your_email@example.com"
View you new SSH Key
$ ~/.ssh/id_ed25519.pub
Open github, go to setting, SSH and GPG Keys, click add a new key,
page contents of id_ed25519.pub into box.
To update your system with YUM but only install the security patches, use the following:
# yum update-minimal —security
# splunk add forward-server 192.168.1.176:9997
# splunk add monitor /var/log/messages
# splunk restart
# splunk list forward-server
On a Linux box, you may need to add these ports to the firewall.firewall-cmd --add-port 8000/tcp --permanent
# firewall-cmd --add-port 9997/tcp --permanent
# firewall-cmd --reload
podman generate systemd [options] container|pod
http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html
Check for a 'Dangling file' in /var/lib/cni/networks/podman
$ cat file.txt | grep -v "#" | grep -v "^$"
do something like the following:
label_replace(up, "short_hostname", "$1", "instance", "(.+):(\\d+)")
Then put {{short_hostname}} in the legend field in Grafana
Use a command similar to the following from a linux command line.
curl -X POST -g 'http://192.168.1.114:9090/api/v1/admin/tsdb/delete_series?match[]={instance="oracle1"}'
cat packages.txt | xargs sudo apt-get install -y
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer