blob: 14806d9471dd47945a8b2f108173ab782213871a [file] [log] [blame]
Mohammed Naser336caf42022-03-11 17:56:45 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naser8eafb7e2023-02-08 18:46:34 +000015- hosts: "{{ target | default('all') }}"
Mohammed Naser336caf42022-03-11 17:56:45 -050016 become: true
17 roles:
ricolin2f1cfea2022-11-26 03:35:56 +080018 - role: sysctl
Mohammed Naser64f84a42022-09-01 16:59:30 -040019 - role: ethtool
20 tags:
21 - ethtool
Mohammed Naser796853a2023-03-19 00:14:02 +000022 - role: vexxhost.kubernetes.containerd
23 vars:
24 containerd_pause_image: "{{ atmosphere_images['pause'] }}"
Mohammed Naser336caf42022-03-11 17:56:45 -050025 - role: kubernetes
Oleksandr Kozachenkodcf6a8b2023-03-09 12:06:12 +010026
27# NOTE(mnaser): Add task to uninstall "unattended-upgrades" to avoid system
28# upgrades during the deployment
29- hosts: all
30 become: true
31 gather_facts: false
32 tasks:
33 - name: Uninstall unattended-upgrades
34 ansible.builtin.apt:
35 name: unattended-upgrades
36 state: absent