Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Sep 22, 2019
1 parent 087fd34 commit 39bb884
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions menu/roles/update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
- sysstat
- nmon

- name: Replace false to true in systat
lineinfile:
path: /etc/default/sysstat
regexp: '^ENABLED=false'
line: ENABLED=true

#- name: Ensure systat is ENABLED=true
#- name: Replace false to true in systat
# lineinfile:
# path: /etc/default/sysstat
# regexp: '^ENABLED='
## regexp: '^ENABLED=false'
# line: ENABLED=true

- name: Ensure systat is ENABLED=true
lineinfile:
path: /etc/default/sysstat
regexp: '^ENABLED='
line: ENABLED=true

- name: Autoremove unused packages
command: apt-get -y autoremove
register: apt_result
Expand Down

0 comments on commit 39bb884

Please sign in to comment.