mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2023-06-17 00:00
This commit is contained in:
		| @@ -14,7 +14,7 @@ | ||||
|   changed_when: False | ||||
|   when: | ||||
|     - ansible_os_family == 'RedHat' | ||||
|     - ansible_distribution_major_version is version('8', '>=') | ||||
|     - ansible_distribution_major_version is version('8', '=') | ||||
|   tags: web | ||||
|  | ||||
| - name: Install nginx | ||||
|   | ||||
| @@ -10,6 +10,15 @@ | ||||
|   when: nginx_nginx_service.stat.exists | ||||
|   tags: web | ||||
|  | ||||
| - name: Remove nginx | ||||
|   yum: | ||||
|     name: | ||||
|       - nginx | ||||
|       - nginx-filesystem | ||||
|       - nginx-core | ||||
|     state: absent | ||||
|   tags: web | ||||
|  | ||||
| - name: Create the nginx user account | ||||
|   user: | ||||
|     name: nginx | ||||
| @@ -50,13 +59,6 @@ | ||||
|       dest: /usr/local/openresty/nginx/html | ||||
|   tags: web | ||||
|  | ||||
| - name: Remove nginx | ||||
|   yum: | ||||
|     name: | ||||
|       - nginx | ||||
|     state: absent | ||||
|   tags: web | ||||
|  | ||||
| - name: Install packages | ||||
|   yum: | ||||
|     name: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud