fix conditionals for hwpstate.
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user