Premier commit
This commit is contained in:
		
							
								
								
									
										14
									
								
								roles/apache2/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								roles/apache2/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
---
 | 
			
		||||
- name: Update apt cache
 | 
			
		||||
  apt: update_cache=yes cache_valid_time=3600
 | 
			
		||||
 | 
			
		||||
- name: Install required software
 | 
			
		||||
  apt: name={{ item }} state=present
 | 
			
		||||
  with_items:
 | 
			
		||||
    - apache2
 | 
			
		||||
    - mysql-server
 | 
			
		||||
    - php-mysql
 | 
			
		||||
    - php
 | 
			
		||||
    - libapache2-mod-php
 | 
			
		||||
    - php-mcrypt
 | 
			
		||||
    - python-mysqldb
 | 
			
		||||
		Reference in New Issue
	
	Block a user