-
Notifications
You must be signed in to change notification settings - Fork 0
/
using.lookup
executable file
·49 lines (39 loc) · 1.57 KB
/
using.lookup
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
PLAY [Let's play with strings with breaks and strings without breaks shall we!] ***
TASK [Gathering Facts] *********************************************************
ok: [server5]
TASK [Print empty] *************************************************************
ok: [server5] =>
msg: ''
TASK [print hosts] *************************************************************
ok: [server5] =>
msg: |-
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
172.180.12.17 myhost1.example.com
172.180.12.18 myhost2.example.com
172.180.12.19 myhost3.example.com
TASK [Print string with breaks] ************************************************
ok: [server5] =>
string_with_breaks: |-
This string
has several
line breaks.
TASK [Print string without breaks] *********************************************
ok: [server5] =>
string_without_breaks: |-
This string will not contain any line breaks. Separated lines are joined by a space character.
TASK [Capitalize string] *******************************************************
ok: [server5] =>
msg: Ben
TASK [Print float] *************************************************************
ok: [server5] =>
msg: 41.2
PLAY RECAP *********************************************************************
server5 : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0