added docu

This commit is contained in:
Lucas Pleß 2020-01-12 16:41:43 +01:00
parent ba2cccb18c
commit e237155a0f
3 changed files with 10 additions and 5 deletions

View File

@ -22,3 +22,13 @@ Nodes are configured from 10.10.0.100 and above
dhcp range is 10.10.1.1-10.10.1.250 dhcp range is 10.10.1.1-10.10.1.250
## 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
ansible-playbook -i inventory site.yml --limit "node42" --tags "hostname,telegraf" -K --ask-pass
```

View File

@ -1,4 +0,0 @@
- name: host
debug: msg="{{ item }}"
with_items:
- "{{ groups['nodes'].ansible_host }}"

View File

@ -4,7 +4,6 @@
- { role: base, tags: 'base' } - { role: base, tags: 'base' }
- { role: authkeys, tags: 'authkeys', group: 'admins' } - { role: authkeys, tags: 'authkeys', group: 'admins' }
- { role: dj-wasabi.telegraf, tags: 'telegraf', become: yes } - { role: dj-wasabi.telegraf, tags: 'telegraf', become: yes }
- { role: test, tags: 'test' }
remote_user: debian remote_user: debian
become_method: su become_method: su
become: true become: true