Use true instead of yes.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
# loop:
|
||||
# - "{{ ppd_service }}"
|
||||
# - "{{ acf_service }}"
|
||||
# ignore_errors: yes
|
||||
# ignore_errors: true
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | Conflicts | Remove
|
||||
package:
|
||||
@@ -53,7 +53,7 @@
|
||||
- "{{ tlp_rdw }}"
|
||||
- "{{ tlp_smart }}"
|
||||
- "{{ tlp_run_script }}"
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
## Configuration ##
|
||||
|
||||
@@ -72,8 +72,8 @@
|
||||
regexp: '{{ item.key }}'
|
||||
line: '{{ item.value }} # MANAGED BY ANSIBLE'
|
||||
state: present
|
||||
create: yes
|
||||
backup: yes
|
||||
create: true
|
||||
backup: true
|
||||
loop:
|
||||
- { "key": '^[\#]?TLP_ENABLE', "value": 'TLP_ENABLE=1'}
|
||||
- { "key": '^[\#]?TLP_DEFAULT_MODE', "value": 'TLP_DEFAULT_MODE=SAV'}
|
||||
@@ -185,7 +185,7 @@
|
||||
alias on="devices-on "
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | tlp'
|
||||
state: present
|
||||
create: yes
|
||||
create: true
|
||||
backup: no
|
||||
loop:
|
||||
- "{{ user_user.home }}/.bashrc"
|
||||
|
||||
Reference in New Issue
Block a user