Targeting Multiple Distributions

As mentioned at the end of the last chapter, so far we have been targeting a single operating system with our playbook. While this is great if we are only going to run our playbook against CentOS 7 hosts, that might not always be the case.

In this chapter, we are going to look at adapting our WordPress installation playbook to target an Ubuntu 17.04 server instance.

In this chapter, we will:

  • Look at and implement core modules that are operating system-dependent
  • Discuss and apply best practices for targeting multiple distributions
  • See how we can target multiple hosts with an Ansible inventory
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.200.197