diff --git a/README.md b/README.md index ff894cb..67d2af3 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,9 @@ dhcp range is 10.10.0.20-10.10.0.80 ## useful commands ``` -for i in `seq 136 142`; do ssh root@10.10.0.$i reboot; done -for i in `seq 100 142`; do ssh root@10.10.0.$i "sh -c 'nohup stress -c 8 > /dev/null 2>&1 &'"; done +for i in `seq 136 142`; do echo $i; ssh root@10.10.0.$i reboot; done +for i in `seq 100 142`; do echo $i; ssh root@10.10.0.$i "sh -c 'nohup stress -c 8 > /dev/null 2>&1 &'"; done +for i in `seq 100 105`; do echo $i; ssh root@10.10.0.$i "sh -c 'nohup killall stress > /dev/null 2>&1 &'"; done ansible-playbook -i inventory site.yml --limit "node42" --tags "hostname,telegraf" -K --ask-pass diff --git a/ansible-ctdo/roles/packages/tasks/main.yml b/ansible-ctdo/roles/packages/tasks/main.yml index 90ae7d3..ac886b2 100644 --- a/ansible-ctdo/roles/packages/tasks/main.yml +++ b/ansible-ctdo/roles/packages/tasks/main.yml @@ -14,6 +14,7 @@ - htop - screen - iptraf-ng + - psmisc - name: remove packages tags: