feat: add system maintenance automation
This commit is contained in:
11
deployment/ansible/playbooks/system-maintenance.yml
Normal file
11
deployment/ansible/playbooks/system-maintenance.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Apply system maintenance on production hosts
|
||||
hosts: production
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: Run system maintenance role
|
||||
include_role:
|
||||
name: system
|
||||
when: system_update_packages | bool
|
||||
Reference in New Issue
Block a user