mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Rename flag to set_php_limits_done (so it runs once at most, per Ansible run)
This commit is contained in:
		
							parent
							
								
									81004687c8
								
							
						
					
					
						commit
						eba3225b7c
					
				
					 6 changed files with 7 additions and 7 deletions
				
			
		|  | @ -14,7 +14,7 @@ | |||
| 
 | ||||
| - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" | ||||
|   include_tasks: roles/www_options/tasks/set-php-limits.yml | ||||
|   when: set_php_limits is undefined | ||||
|   when: set_php_limits_done is undefined | ||||
| 
 | ||||
| 
 | ||||
| - name: Start MariaDB | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ | |||
| 
 | ||||
| - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: True' by default" | ||||
|   include_tasks: roles/www_options/tasks/set-php-limits.yml | ||||
|   when: set_php_limits is undefined | ||||
|   when: set_php_limits_done is undefined | ||||
| 
 | ||||
| 
 | ||||
| # 2021-07-02: Let's monitor & learn from these 2 pages year-by-year: | ||||
|  |  | |||
|  | @ -42,7 +42,7 @@ | |||
| 
 | ||||
| - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" | ||||
|   include_tasks: roles/www_options/tasks/set-php-limits.yml | ||||
|   when: set_php_limits is undefined | ||||
|   when: set_php_limits_done is undefined | ||||
| 
 | ||||
| 
 | ||||
| # February 2020: See @m-anish's PR #2119 and follow-up PR #2258. | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
| 
 | ||||
| - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" | ||||
|   include_tasks: roles/www_options/tasks/set-php-limits.yml | ||||
|   when: set_php_limits is undefined | ||||
|   when: set_php_limits_done is undefined | ||||
| 
 | ||||
| 
 | ||||
| # 2021-08-04: Non-native systemd service 'asterisk.service' (redirects via | ||||
|  |  | |||
|  | @ -14,7 +14,7 @@ | |||
| 
 | ||||
| - name: "Run roles/www_options/tasks/set-php-limits.yml with 'nginx_high_php_limits: False' by default" | ||||
|   include_tasks: roles/www_options/tasks/set-php-limits.yml | ||||
|   when: set_php_limits is undefined | ||||
|   when: set_php_limits_done is undefined | ||||
| 
 | ||||
| 
 | ||||
| # 2021-06-29: PHP modules, covering "RECOMMENDED" and "OPTIONAL" sections here: | ||||
|  |  | |||
|  | @ -89,9 +89,9 @@ | |||
|     name: php{{ php_version }}-fpm | ||||
|     state: restarted | ||||
| 
 | ||||
| - name: "Set 'set_php_limits: True' so set-php-limits.yml runs just once (per Ansible run)" | ||||
| - name: "Set 'set_php_limits_done: True' so set-php-limits.yml runs just once (per Ansible run)" | ||||
|   set_fact: | ||||
|     set_php_limits: True | ||||
|     set_php_limits_done: True | ||||
| 
 | ||||
| 
 | ||||
| # - debug: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue