Structure Flashcards

1
Q

how to denote the start of a file

A

triple dashes —

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how to donate the end of a file without closing the data stream

A

triple dots …

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

you can have multiple directives/documents in one file

A

need to use triple spaces and triple dots

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

example

A

host: phl-42
datacenter:
location: Philadelphia
cab: 13
cab_unit: 3
roles:
- webserver
- wp_database

host: phl-43
datacenter:
location: Philadelphia
cab: 13
cab_unit: 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly