Scott Williams 🐧 on Nostr: Can't install #Ansible for some reason? This might work for you in a pinch (as an ...
Can't install #Ansible for some reason? This might work for you in a pinch (as an example):
echo -n "server1 server2 server 3 server 4" | xargs -d" " -I '{}' -n1 ssh {} 'sudo dnf update -y && systemctl reboot'
#bash #Linux
Published at
2023-10-20 23:36:55Event JSON
{
"id": "5bd9a8fd412582107ca42822af5941632eb8179531b151b4d26ee9223aed714f",
"pubkey": "beee28c6450eb5d21bf94279d1f3f41e524c87abf86393835b45e6a1e98390e7",
"created_at": 1697845015,
"kind": 1,
"tags": [
[
"t",
"ansible"
],
[
"t",
"bash"
],
[
"t",
"linux"
],
[
"proxy",
"https://mastodon.online/users/vwbusguy/statuses/111269970924420868",
"activitypub"
]
],
"content": "Can't install #Ansible for some reason? This might work for you in a pinch (as an example):\n\necho -n \"server1 server2 server 3 server 4\" | xargs -d\" \" -I '{}' -n1 ssh {} 'sudo dnf update -y \u0026\u0026 systemctl reboot'\n\n#bash #Linux",
"sig": "c028d2b79b3f77fb152400c62aff76f8280b39773b047b3d14b90d554e1bb1110d6f08e2c031879f09c8d2364752f134f031c9bfb0649d44c4b2427950c3c34d"
}