Skip if we don't have special things to do, and pass right values for EL6 service changes
This commit is contained in:
		| @@ -14,7 +14,7 @@ | |||||||
|     name: '{{ item.name }}' |     name: '{{ item.name }}' | ||||||
|     state: '{{ item.state }}' |     state: '{{ item.state }}' | ||||||
|   loop: |   loop: | ||||||
|     - { enables: 'yes', name: 'acpid', state: 'started' } |     - { enabled: 'yes', name: 'acpid', state: 'started' } | ||||||
|   loop_control: |   loop_control: | ||||||
|     label: '{{ item.name }} will be {{ item.state }}' |     label: '{{ item.name }} will be {{ item.state }}' | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								tasks/default.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tasks/default.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | --- | ||||||
|  | # tasks file for ensure_ansible_prereq | ||||||
| @@ -7,6 +7,7 @@ | |||||||
|     file: '{{ lookup("first_found", findme ) }}' |     file: '{{ lookup("first_found", findme ) }}' | ||||||
|   vars: |   vars: | ||||||
|     findme: |     findme: | ||||||
|  |       errors: 'ignore' | ||||||
|       files: |       files: | ||||||
|         - '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}.yml' |         - '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}.yml' | ||||||
|         - '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-default.yml' |         - '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-default.yml' | ||||||
| @@ -15,5 +16,5 @@ | |||||||
|         - '{{ ansible_os_family }}-{{ ansible_distribution_major_version }}-default.yml' |         - '{{ ansible_os_family }}-{{ ansible_distribution_major_version }}-default.yml' | ||||||
|         - '{{ ansible_os_family }}-default.yml' |         - '{{ ansible_os_family }}-default.yml' | ||||||
|         - 'default.yml' |         - 'default.yml' | ||||||
|       errors: 'ignore' |       skip: 'true' | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user