fix conditionals for hwpstate.

This commit is contained in:
Tom Alexander
2022-10-15 20:39:59 -04:00
parent ece2ac4920
commit c45e4cc3fa
4 changed files with 3 additions and 7 deletions

View File

@@ -29,14 +29,14 @@
dest: /etc/rc.conf.d/power_profile
- name: Install packages
when: not hwpstate
when: hwpstate is defined and not hwpstate
package:
name:
- powerdxx
state: present
- name: Install service configuration
when: not hwpstate
when: hwpstate is defined and not hwpstate
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"