zeus
4 years ago
3 changed files with 38 additions and 2 deletions
@ -0,0 +1,23 @@ |
|||||
|
--- |
||||
|
- hosts: service |
||||
|
remote_user: "{{ user }}" |
||||
|
gather_facts: no |
||||
|
vars: |
||||
|
user: "zeus" |
||||
|
|
||||
|
tasks: |
||||
|
|
||||
|
# ------------------------ |
||||
|
# apt update |
||||
|
# ------------------------- |
||||
|
- name: apt update packages |
||||
|
become: true |
||||
|
apt: |
||||
|
update_cache: 'yes' |
||||
|
force_apt_get: 'yes' |
||||
|
upgrade: 'dist' |
||||
|
cache_valid_time: 3600 |
||||
|
install_recommends: true |
||||
|
autoremove: true |
||||
|
|
||||
|
|
@ -1,2 +1,2 @@ |
|||||
[service] |
[service] |
||||
195.130.131.125 |
195.130.109.125 |
||||
|
Loading…
Reference in new issue