Skip if we don't have special things to do, and pass right values for EL6 service changes
This commit is contained in:
parent
fbaefe40e3
commit
758f0b2d54
@ -14,7 +14,7 @@
|
||||
name: '{{ item.name }}'
|
||||
state: '{{ item.state }}'
|
||||
loop:
|
||||
- { enables: 'yes', name: 'acpid', state: 'started' }
|
||||
- { enabled: 'yes', name: 'acpid', state: 'started' }
|
||||
loop_control:
|
||||
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 ) }}'
|
||||
vars:
|
||||
findme:
|
||||
errors: 'ignore'
|
||||
files:
|
||||
- '{{ ansible_distribution }}-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}.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 }}-default.yml'
|
||||
- 'default.yml'
|
||||
errors: 'ignore'
|
||||
skip: 'true'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user