上QQ阅读APP看书,第一时间看更新
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The sudo command is a well known, but is often used in its more dangerous form."
A block of code is set as follows:
- hosts: all
remote_user: vagrant
tasks:
- name: Ensure the HTTPd package is installed
yum:
name: httpd
state: present
become: True
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
- hosts: all
remote_user: vagrant
tasks:
- name: Ensure the HTTPd package is installed
yum:
name: httpd
state: present
become: True
Any command-line input or output is written as follows:
$ sudo dnf install ansible
Warnings or important notes appear like this.
Tips and tricks appear like this.