-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeetup-01.html
96 lines (84 loc) · 3.87 KB
/
meetup-01.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!doctype html>
<html lang="pt">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> Meetup PUG-PI | Python User Group - Piauí
</title>
<link rel="canonical" href="./meetup-01.html">
<link rel="stylesheet" href="./theme/css/bootstrap.min.css">
<link rel="stylesheet" href="./theme/css/font-awesome.min.css">
<link rel="stylesheet" href="./theme/css/pygments/default.min.css">
<link rel="stylesheet" href="./theme/css/theme.css">
<meta name="description" content="Estamos testando o blog.">
</head>
<body>
<header class="header">
<div class="container">
<div class="row">
<div class="col-sm-4">
<a href="./">
<img class="img-fluid rounded" src=./images/pugpi.jpeg width=200 height=200 alt="Python User Group - Piauí">
</a>
</div>
<div class="col-sm-8">
<h1 class="title"><a href="./">Python User Group - Piauí</a></h1>
<ul class="list-inline">
<li class="list-inline-item"><a href="/archives.html">Blog</a></li>
<li class="list-inline-item text-muted">|</li>
<li class="list-inline-item"><a href="./pages/about-us.html">Sobre nós</a></li>
<li class=" list-inline-item text-muted">|</li>
<li class="list-inline-item"><a class="fa fa-github" href="https://github.com/pugpi" target="_blank"></a></li>
<li class="list-inline-item"><a class="fa fa-telegram" href="https://t.me/pugpi" target="_blank"></a></li>
</ul>
</div>
</div> </div>
</header>
<div class="main">
<div class="container">
<h1> Meetup PUG-PI
</h1>
<hr>
<article class="article">
<header>
<ul class="list-inline">
<li class="list-inline-item text-muted" title="2019-04-27T12:40:00-03:00">
<i class="fa fa-clock-o"></i>
sáb 27 abril 2019
</li>
<li class="list-inline-item">
<i class="fa fa-folder-open-o"></i>
<a href="./category/meetup.html">Meetup</a>
</li>
<li class="list-inline-item">
<i class="fa fa-user-o"></i>
<a href="./author/ana-paula-mendes.html">Ana Paula Mendes</a> </li>
<li class="list-inline-item">
<i class="fa fa-files-o"></i>
<a href="./tag/linux.html">#linux</a>, <a href="./tag/opensource.html">#opensource</a>, <a href="./tag/python.html">#python</a> </li>
</ul>
</header>
<div class="content">
<p>A few days ago I had to get some basic information from a handful of servers for an inventory report; just basic stuff like hostname, IP address, storage capacity, distro version, etc. I already manage all of my servers with Ansible, and there's a wealth of information available in Ansible's <code>setup</code> module, so I knew there had to be a clever way to do this.</p>
<p>Somehow I stumbled upon <a href="http://docs.ansible.com/developing_api.html">Ansible's Python API</a>, which solves this problem elegantly! It helped that other people are doing cool things and <a href="http://jpmens.net/2012/12/13/obtaining-remote-data-with-ansible-s-api/">writing about their experiences</a> too.</p>
</div>
</article>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<ul class="col-sm-6 list-inline">
<li class="list-inline-item"><a href="./authors.html">Autores</a></li>
<li class="list-inline-item"><a href="./categories.html">Categorias</a></li>
<li class="list-inline-item"><a href="./tags.html">Tags</a></li>
</ul>
<p class="col-sm-6 text-sm-right text-muted">
Feito com <a href="https://github.com/getpelican/pelican" target="_blank">Pelican</a>
/ <a href="https://github.com/nairobilug/pelican-alchemy" target="_blank">✨</a>
</p>
</div> </div>
</footer>
</body>
</html>