- name: chmod and chown local orchard folder
  file: dest="{{ orchard_ows_carveouts_document_root }}" owner=www-data group=www-data mode=777 recurse=yes
  when: inventory_hostname == "localhost"
  tags:
    - orchard-ows-carveouts-init
    - orchard-ows-carveouts-init-chmod
- name: chmod and chown orchard folder
  file: dest="{{ orchard_ows_carveouts_document_root }}" owner="{{ server_files_user }}" group="{{ server_files_group }}" mode=775 recurse=yes
  when: inventory_hostname == "dev_client"
  become: true
  tags:
    - orchard-ows-carveouts-init
    - orchard-ows-carveouts-init-chmod
