Skip to content
Snippets Groups Projects
variables.yml 327 B
Newer Older
  • Learn to ignore specific revisions
  • jurgenhaas's avatar
    jurgenhaas committed
    ---
    # file: roles/php/tasks/variables.yml
    
    - block:
    
      - set_fact:
          phpFpmService: php5-fpm
      - set_fact:
          phpFpmService: php-fpm
    
    jurgenhaas's avatar
    jurgenhaas committed
        when: php_version_main|default('7') == '5'
    
      - set_fact:
          phpFpmService: php{{php_version|default("7.0")}}-fpm
    
    jurgenhaas's avatar
    jurgenhaas committed
        when: php_version_main|default('7') == '7'
    
      tags:
        - always