Revert "Only disable the PK cache, not the service"

This reverts commit b53d4da471.
This commit is contained in:
Anthony Rose 2021-12-15 08:24:13 +00:00
parent 006f6c8688
commit 50a0708a86

View file

@ -13,12 +13,13 @@
# 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 cache - name: Disable PackageKit
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.systemd:
path: /etc/PackageKit/PackageKit.conf name: packagekit.service
regexp: '^#?\w*KeepCache=(true|false)' enabled: no
line: 'KeepCache=false' masked: yes
state: stopped
- name: Disable PackageKit offline updates - name: Disable PackageKit offline updates
become: true become: true
ansible.builtin.systemd: ansible.builtin.systemd: