diff --git a/tasks/RedHat-6-default.yml b/tasks/RedHat-6-default.yml index 4bcddd1..36938b3 100644 --- a/tasks/RedHat-6-default.yml +++ b/tasks/RedHat-6-default.yml @@ -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 }}' diff --git a/tasks/default.yml b/tasks/default.yml new file mode 100644 index 0000000..cc5ea92 --- /dev/null +++ b/tasks/default.yml @@ -0,0 +1,2 @@ +--- +# tasks file for ensure_ansible_prereq diff --git a/tasks/main.yml b/tasks/main.yml index 1cdb6ab..d9635c8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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'