[add update playbook]
This commit is contained in:
4
ivre.yml
4
ivre.yml
@@ -7,9 +7,9 @@
|
||||
processes_nmap: 5
|
||||
# source: tower
|
||||
target_networks:
|
||||
- 163.172.16.0/20
|
||||
# - 163.172.16.0/20
|
||||
- 163.172.31.0/20
|
||||
- 163.172.48.0/20
|
||||
# - 163.172.48.0/20
|
||||
# 163.172.0.0/20
|
||||
# 163.172.16.0/20
|
||||
# 163.172.31.0/20
|
||||
|
||||
@@ -18,10 +18,16 @@
|
||||
- apt:
|
||||
update_cache: yes
|
||||
become: true
|
||||
when:
|
||||
- inventory_hostname != 'scaleway'
|
||||
|
||||
|
||||
- apt:
|
||||
upgrade: full
|
||||
become: true
|
||||
when:
|
||||
- inventory_hostname != 'scaleway'
|
||||
|
||||
|
||||
- community.docker.docker_compose_v2:
|
||||
project_src: /opt/dockerapps/
|
||||
@@ -36,7 +42,6 @@
|
||||
when:
|
||||
- inventory_hostname != 'scaleway'
|
||||
|
||||
|
||||
- reboot:
|
||||
when:
|
||||
- reboot_needed.stdout == "reboot_needed"
|
||||
|
||||
Reference in New Issue
Block a user