Migrate lineinfile to FQCN.

This commit is contained in:
me
2026-10-02 11:19:29 -07:00
parent 1845c8da63
commit 688ee6cb1c
10 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
state: present
- name: Miner | Driver | AMDGPU | Set GRUB Timer
lineinfile:
ansible.builtin.lineinfile:
path: /etc/default/grub
regexp: '^GRUB_TIMEOUT='
line: 'GRUB_TIMEOUT=3'
@@ -77,7 +77,7 @@
when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed
- name: Miner | Driver | AMDGPU | Prepare GRUB To Boot GA Kernel
lineinfile:
ansible.builtin.lineinfile:
path: /etc/default/grub
regexp: '^GRUB_DEFAULT='
line: 'GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.4.0-65-generic"'
@@ -126,7 +126,7 @@
# This is to ensure we can test adding `apt install --install-recommends linux-generic` later
- name: Miner | Driver | AMDGPU | Boot Default Kernel
lineinfile:
ansible.builtin.lineinfile:
path: /etc/default/grub
regexp: '^GRUB_DEFAULT='
line: 'GRUB_DEFAULT=0'
+4 -4
View File
@@ -58,7 +58,7 @@
when: nanominer_cpu != false
- name: Miner | Software | Nanominer | Configuration | CPU | Add Pools
lineinfile:
ansible.builtin.lineinfile:
path: "{{ nanominer_config }}"
line: "pool{{item.priority}} = {{ item.name }}"
state: present
@@ -69,7 +69,7 @@
when: nanominer_cpu != false
- name: Miner | Software | Nanominer | Configuration | CPU | End Section
lineinfile:
ansible.builtin.lineinfile:
path: "{{ nanominer_config }}"
line: ";;;;;;;;;;;;; END CPU"
state: present
@@ -127,7 +127,7 @@
when: nanominer_gpu != false
- name: Miner | Software | Nanominer | Configuration | GPU | Add Pools
lineinfile:
ansible.builtin.lineinfile:
path: "{{ nanominer_config }}"
line: "pool{{item.priority}} = {{ item.name }}"
state: present
@@ -138,7 +138,7 @@
when: nanominer_gpu != false
- name: Miner | Software | Nanominer | Configuration | GPU | End Section
lineinfile:
ansible.builtin.lineinfile:
path: "{{ nanominer_config }}"
line: ";;;;;;;;;;;;; END GPU"
state: present