ansible-roles
ansible-roles copied to clipboard
drupal role: Add configuration setup after install Drupal
Would be something like this:
- name: Setting up config after Drupal sites installation
command:
drush cset {{ item.2 }}
-y
-r {{ drupal.directory_prefix }}/{{ item.0.directory }}
-l {{ item.1.sitesdir }}
--format=yaml
sudo: yes
with_nested:
- drupal.drupal_roots
- sites
- config when: drupal.drupal_roots.projects.0.version|truncate(1, True, '') >= 8