-
Notifications
You must be signed in to change notification settings - Fork 148
/
Copy pathansible-day-05
59 lines (59 loc) · 1.83 KB
/
ansible-day-05
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
232 cat raham.yml
233 ansible-playbook raham.yml
234 ll
235 vim raham.yml
236 ansible-playbook raham.yml
237 vim raham.yml
238 ansible-playbook raham.yml
239 vim raham.yml
240 ansible-playbook raham.yml
241 vim raham.yml
242 ansible-playbook raham.yml
243 vim raham.yml
244 ansible-playbook raham.yml
245 vim raham.yml
246 ansible-playbook raham.yml
247 vim raham.yml
248 ansible-playbook raham.yml
249 ll
250 cat raham.yml
251 cat>abc.txt
252 vim abc.txt
253 ll
254 vim raham.yml
255 ansible-playbook raham.yml
256 vim raham.yml
257 ansible-playbook raham.yml
258 vim raham.yml
259 ansible-playbook raham.yml
260 vim raham.yml
261 ansible-playbook raham.yml
262 vim raham.yml
263 ansible-playbook raham.yml
264 pwd
265 ll
266 vim raham.yml
267 pwd
268 ansible-playbook raham.yml
269 cat abc.txt
270 vim raham.yml
271 vim abc.txt
272 ansible-playbook raham.yml
273 vim raham.yml
274 ansible-playbook raham.yml
275 ansible all --list-hosts
276 ansible -m setup 172.31.61.251
277 ansible -m setup 172.31.61.251 | grep -i cpu
278 ansible -m setup 172.31.61.251 | grep -i mem
279 ansible -m setup 172.31.61.251 | grep -i block
280 ansible -m setup 172.31.61.251 | grep -i family
281 ansible -m setup 172.31.61.251
282 ansible -m setup "filter=ansible_os_family" 172.31.61.251
283 ansible -m setup -a "filter=ansible_os_family" 172.31.61.251
284 ansible -m setup -a "filter=ansible_pkg_mgr" 172.31.61.251
285 ansible -m setup -a "filter=BOOT_IMAGE" 172.31.61.251
286 ansible -m setup -a "filter=ansible_osfamily" 172.31.61.251
287 ansible -m setup -a "filter=ansible_os_family" 172.31.61.251
288 ansible -m setup 172.31.61.251 | grep -i family
289 ansible -m setup 172.31.61.251 | grep -i os
290 history