The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
| Version | Location | Description | Submitted By | Date submitted | Date corrected |
|---|---|---|---|---|---|
Page Not Applicable Figure 1-1 |
In the tasks section, the name ‘Install config file’ has the following statement: “notify: restart nginx” but in the handlers section, the name is “notify nginx”. The name of the handler should probably be changed to match the notify directive. Note from the Author or Editor: |
David Goldsmith | Oct 29, 2021 | Jul 12, 2022 | |
Page n/a Chapter 2, Example 2-9. playbooks/webservers-tls.yml |
A task to enable the web server configuration, by linking /etc/nginx/sites-enabled/default to /etc/nginx/sites-available/default (or "{{ conf_file }}"), is omitted from playbooks/webservers-tls.yml. If the reader has run webservers.yml and webservers2.yml playbooks from earlier in the chapter then this isn't an issue, but if not, or the Vagrant VM has since been destroyed, the playbook will fail to fully-configure the web server. Note from the Author or Editor: |
Simon Ward | Feb 17, 2022 | Jul 12, 2022 | |
Page n/a Chapter 3, Example 3-3. Vagrantfile with three servers (https://learning.oreilly.com/library/view/ansible-up-and/9781098109141/ch03.html#ex3_vagrantfile) |
The first line of the Vagrantfile in Example 3-3 is missing underscores ("_") between the words in the variable name. Replace: Note from the Author or Editor: |
Simon Ward | Feb 17, 2022 | Jul 12, 2022 | |
Page n/a 9. Customizing Hosts, Runs, And Handlers Running on a Batch of Hosts at a Time the description under figure Example 9-8 |
In the preceding play, with 30 CDN hosts, Ansible would run against one host on the first batch run, and on each subsequent batch run it would run against at most 30% of the hosts (for instance, 1, 10, 10, and 9). Note from the Author or Editor: |
YUBI LEE | Mar 29, 2022 | Jul 12, 2022 | |
Page Chapter 10 - Error handling with Blocks Example 10-30. Error-agnostic application-upgrade playbook |
The example at 10-29 and 10-30 differs but also it says that the objetive is ¨If all we want to do is get upgraded VMs back to the load-balancer cluster, the play will look a bit different". Accordingly to Ansible documentation, this is not true since: Note from the Author or Editor: |
Víctor | Oct 27, 2022 | Jul 12, 2022 | |
Page 9 3rd line from the bottom up |
The line from the book is "You can write your own plug-ins (see Chapter 10) and modules (Chapter 12) in Python." Note from the Author or Editor: |
Frank Zhang | Feb 10, 2024 | Jan 09, 2026 | |
Page 28 Last paragraph just before Example 1-2 |
spelling mistake. |
Stephan Goeting | Jul 15, 2021 | Jul 12, 2022 | |
Page 84 Example 3-8 |
Hi, Note from the Author or Editor: |
Michael McClellan | Dec 20, 2025 | Jan 09, 2026 | |
Page 128 first code paragraph |
The loop in the code sample is using the two items: syncdb and collectstatic but the details on the page for a referring to the two tasks migrate and collectstatic. Note from the Author or Editor: |
Jan Fader | Jul 06, 2024 | Jan 09, 2026 | |
Page 183 5th paragraph, starying with "unfortunately" |
Theres a space missing between two words. Note from the Author or Editor: |
Bart den Boer | Jul 26, 2024 | Jan 09, 2026 |