---

- name: Setup Drupal Redis
  hosts: tag_Role_Drupal-Redis
  roles:
    - role: dosomething.redis

- name: Setup Drupal WebApp
  hosts: tag_Role_Drupal-WebApp
  roles:
    - role: dosomething.web
    - role: dosomething.dosomething

# sudo mount -t nfs -o nolock 10.100.20.6:/drupal-static-files /mnt
- name: Mount shared folder to Drupal WebApp
  hosts: tag_Role_Drupal-WebApp
  mount: >
    name=/var/www/www.dosomething.org/shared/files
    src='10.100.20.6:/drupal-static-files'
    fstype=nfs
    opts=nolock
    state=mounted

---

- name: Setup Drupal Redis
  hosts: tag_Role_Drupal-Redis
  roles:
    - role: dosomething.redis

- name: Setup Drupal WebApp
  hosts: tag_Role_Drupal-WebApp
  roles:
    - role: dosomething.web
    - role: dosomething.dosomething

# sudo mount -t nfs -o nolock 10.100.20.6:/drupal-static-files /mnt
- name: Mount shared folder to Drupal WebApp
  hosts: tag_Role_Drupal-WebApp
  tasks:
  - mount: >
      name=/var/www/www.dosomething.org/shared/files
      src='10.100.20.6:/drupal-static-files'
      fstype=nfs
      opts=nolock
      state=mounted

Fix ERROR: mount is not a legal parameter of an Ansible Play.
Fix ERROR: mount is not a legal parameter of an Ansible Play.
