Modified deploy.sh to accept a third argument. Ansible fails

@luqo33 How about adding a theme variable under each site in wordpress_sites, for example:

wordpress_sites:
  example.com:
    site_hosts:
      - example.com
    local_path: ../site
    theme: mytheme
    ⋮

The deploy.yml playbook loads the site variables in project dict, so use {{ project.theme }}:

project_pre_build_commands_local:
  - path: "{{ project.local_path }}/web/app/themes/{{ project.theme }}"
    ⋮

Then you don’t even have to type in the theme name on each deploy.