This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
LecygneNoir
/
ansible-configz
mirror of
https://github.com/theonlydoo/configz
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
new apt-get update
master
theonlydoo
9 years ago
parent
16e7d35bde
commit
0e97fe3a7f
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
roles/update/tasks/normal.yml
+ 5
- 0
roles/update/tasks/normal.yml
View File
@ -1,4 +1,9 @@
---
-
name
:
apt-get update for my Monitoring
shell
:
apt-get update -qq > /var/lib/apt/update_output 2>&1 && [ ! -s /var/lib/apt/update_output ] && date -u > /var/lib/apt/update_success
tags
:
update
when
:
ansible_distribution == 'Debian'
ignore_errors
:
yes
-
name
:
apt-get update
tags
:
normal
Write
Preview
Loading…
Cancel
Save