Only disable the PK cache, not the service
This commit is contained in:
parent
2619dc0db7
commit
b53d4da471
1 changed files with 5 additions and 6 deletions
|
@ -13,13 +13,12 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Disable PackageKit
|
- name: Disable PackageKit cache
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.lineinfile:
|
||||||
name: packagekit.service
|
path: /etc/PackageKit/PackageKit.conf
|
||||||
enabled: no
|
regexp: '^#?\w*KeepCache=(true|false)'
|
||||||
masked: yes
|
line: 'KeepCache=false'
|
||||||
state: stopped
|
|
||||||
- name: Disable PackageKit offline updates
|
- name: Disable PackageKit offline updates
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|
Loading…
Reference in a new issue