added docu
This commit is contained in:
parent
ba2cccb18c
commit
e237155a0f
10
README.md
10
README.md
|
@ -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
|
||||||
|
```
|
|
@ -1,4 +0,0 @@
|
||||||
- name: host
|
|
||||||
debug: msg="{{ item }}"
|
|
||||||
with_items:
|
|
||||||
- "{{ groups['nodes'].ansible_host }}"
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue