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