Skip to content

Commit

Permalink
Add zypper patch system before test start on PC
Browse files Browse the repository at this point in the history
Fully patch system before test start on public cloud qesap-deployment
test cases
TEAM-8437 - [qesap-deployment] Fully patch system before test start
  • Loading branch information
lilyeyes committed Sep 19, 2023
1 parent f43e58a commit 015ac0f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ansible/playbooks/fully-patch-system.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
- hosts: all
remote_user: cloudadmin
become: true
become_user: root
vars:
use_reboottimeout: 600

tasks:
# Fully patch system
- name: Apply all available patches
community.general.zypper:
name: '*'
state: latest
type: patch

handlers:
- name: Reboot
ansible.builtin.reboot:
reboot_timeout: "{{ use_reboottimeout | int }}"

0 comments on commit 015ac0f

Please sign in to comment.