Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Add php tags to all php modules to allow version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Apr 22, 2017
1 parent 9db433a commit ee4034f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,27 @@
- { role: geerlingguy.drupal-console, when: 'drupal_major_version > 7 and "drupalconsole" in installed_extras' }
- { role: geerlingguy.drush, when: '"drush" in installed_extras' }
- { role: geerlingguy.memcached, when: '"memcached" in installed_extras' }
- { role: geerlingguy.php-memcached, when: '"memcached" in installed_extras' }
- { role: geerlingguy.php-memcached, when: '"memcached" in installed_extras', tags: ['php'] }

- role: geerlingguy.php-tideways
workspace: "/root/php{{ php_version }}"
when: '"tideways" in installed_extras'
tags: ['php']

- role: geerlingguy.php-xdebug
workspace: "/root/php{{ php_version }}"
when: '"xdebug" in installed_extras'
tags: ['xdebug']
tags: ['php', 'xdebug']

- role: geerlingguy.php-xhprof
workspace: "/root/php{{ php_version }}"
when: '"xhprof" in installed_extras'
tags: ['php']

- role: thom8.php-upload-progress
workspace: "/root/php{{ php_version }}"
when: '"upload-progress" in installed_extras'
tags: ['php']

- { role: geerlingguy.blackfire, when: '"blackfire" in installed_extras' }
- { role: geerlingguy.adminer, when: '"adminer" in installed_extras', tags: ['database'] }
Expand All @@ -76,7 +79,7 @@
- { role: franklinkim.newrelic, when: '"newrelic" in installed_extras' }
- { role: geerlingguy.nodejs, when: '"nodejs" in installed_extras' }
- { role: geerlingguy.redis, when: '"redis" in installed_extras' }
- { role: geerlingguy.php-redis, when: '"redis" in installed_extras' }
- { role: geerlingguy.php-redis, when: '"redis" in installed_extras', tags: ['php'] }
- { role: geerlingguy.ruby, when: '"ruby" in installed_extras' }

- role: geerlingguy.java
Expand Down Expand Up @@ -111,7 +114,7 @@

- include: tasks/dashboard.yml
when: dashboard_install_dir is defined and dashboard_install_dir != ''
tags: ['webserver', 'database']
tags: ['webserver', 'database', 'php']

- name: Run configured post-provision shell scripts.
script: "{{ item }}"
Expand Down
2 changes: 1 addition & 1 deletion provisioning/tasks/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
path: "/root/php{{ php_version }}"
state: directory
mode: 0775
tags: ['xdebug']
tags: ['php', 'xdebug']

0 comments on commit ee4034f

Please sign in to comment.