idempotence fix
This commit is contained in:
		
							parent
							
								
									348c036746
								
							
						
					
					
						commit
						1835822946
					
				|  | @ -82,7 +82,4 @@ | ||||||
|     state: link |     state: link | ||||||
|     src: "/etc/apache2/sites-available/site_{{ name }}.conf" |     src: "/etc/apache2/sites-available/site_{{ name }}.conf" | ||||||
|     dest: "/etc/apache2/sites-enabled/site_{{ name }}.conf" |     dest: "/etc/apache2/sites-enabled/site_{{ name }}.conf" | ||||||
|     owner: 'root' |  | ||||||
|     group: "{{ APACHE_CONFIG.group }}" |  | ||||||
|     mode: 0640 |  | ||||||
|   tags: [sites, config] |   tags: [sites, config] | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ | ||||||
|     dest: '/etc/apache2/sites-available/status.conf' |     dest: '/etc/apache2/sites-available/status.conf' | ||||||
|     owner: 'root' |     owner: 'root' | ||||||
|     group: "{{ APACHE_CONFIG.group }}" |     group: "{{ APACHE_CONFIG.group }}" | ||||||
|     mode: 0644 |     mode: 0640 | ||||||
|   tags: [config, sites, base] |   tags: [config, sites, base] | ||||||
| 
 | 
 | ||||||
| - name: Apache | Debian | Status page | Enabling site | - name: Apache | Debian | Status page | Enabling site | ||||||
|  | @ -21,7 +21,4 @@ | ||||||
|     state: link |     state: link | ||||||
|     src: '/etc/apache2/sites-available/status.conf' |     src: '/etc/apache2/sites-available/status.conf' | ||||||
|     dest: '/etc/apache2/sites-enabled/status.conf' |     dest: '/etc/apache2/sites-enabled/status.conf' | ||||||
|     owner: 'root' |  | ||||||
|     group: "{{ APACHE_CONFIG.group }}" |  | ||||||
|     mode: 0640 |  | ||||||
|   tags: [sites, base, config] |   tags: [sites, base, config] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue