Learn Ansible
上QQ阅读APP看书,第一时间看更新

Questions

  1. Which fact gathered during setup module execution can we use to tell our playbook how many processors our target host has?
  2. True or false: Using backref in the lineinfile module makes sure that no changes are applied if the regular expression is not matched.
  3. Explain why we would want to build the logic into the playbook to check whether WordPress is already installed.
  4. Which module do we use to define variables as part of a playbook run?
  5. Which argument do we pass to the shell module to have the command we want to run executed in a directory of our choosing?
  6. True or false: Setting MariaDB to bind to 127.0.0.1 will allow us to access it externally.
  7. Change the theme of your WordPress site to one of your choice; see https://wordpress.org/themes/ for some options.