Bootstrapping WordPress
It won’t be of any surprise to you that the bulk of the WordPress roles remain intact from our previous chapters so we will not cover those parts there and will instead review some of the small changes.
The site and host environment files
The site.yml
is now split into two sections; the first runs locally and interacts with the Azure Resource Manager API to launch and configure the Azure resources:
- name: "Deploy and configure the Azure Environment" hosts: localhost connection: local gather_facts: true vars_files: - group_vars/common.yml roles: - "azure"
The second section targets the vmgroup
host group and looks more like what we have been working with so far in the previous chapters:
- name: "Install and configure Wordpress" hosts: vmgroup gather_facts: true become...