mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Validate 2 input vars for wordpress/tasks/main.yml
This commit is contained in:
		
							parent
							
								
									7ec60657b3
								
							
						
					
					
						commit
						639e335442
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -1,5 +1,13 @@
 | 
				
			||||||
# SEE "emergency" REINSTALL INSTRUCTIONS IN roles/wordpress/tasks/install.yml
 | 
					# SEE "emergency" REINSTALL INSTRUCTIONS IN roles/wordpress/tasks/install.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- assert:
 | 
				
			||||||
 | 
					    that: wordpress_install is defined and wordpress_install is sameas true
 | 
				
			||||||
 | 
					    success_msg: wordpress_install is defined and wordpress_install is sameas true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- assert:
 | 
				
			||||||
 | 
					    that: wordpress_enabled is defined and wordpress_enabled | type_debug == 'bool'
 | 
				
			||||||
 | 
					    success_msg: wordpress_enabled is defined and wordpress_enabled | type_debug == 'bool'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Provision MySQL DB for WordPress, if 'wordpress_installed' is not defined in {{ iiab_state_file }}    # /etc/iiab/iiab_state.yml
 | 
					- name: Provision MySQL DB for WordPress, if 'wordpress_installed' is not defined in {{ iiab_state_file }}    # /etc/iiab/iiab_state.yml
 | 
				
			||||||
  include_tasks: setup.yml
 | 
					  include_tasks: setup.yml
 | 
				
			||||||
  when: wordpress_installed is undefined    # and not installing
 | 
					  when: wordpress_installed is undefined    # and not installing
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue