- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 170字
- 2021-06-24 18:43:32
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: "Once we have the credentials, we should put them in vars/secrets.yml."
A block of code is set as follows:
- name: Create Custom Network
gce_net:
name: my-network
mode: custom
subnet_name: "public-subnet"
subnet_region: us-west1
ipv4_range: '10.0.0.0/24'
state: "present"
service_account_email: "{{ service_account_email }}"
project_id: "{{ project_id }}"
credentials_file: "{{ credentials_file }}"
tags:
- recipe1
Any command-line input or output is written as follows:
$ pip install boto
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "After that, from the left sidebar, select IAM & Admin and then go to the Service Accounts section."
Warnings or important notes appear like this.
Tips and tricks appear like this.