Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 1 | # 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 Naser | 8eafb7e | 2023-02-08 18:46:34 +0000 | [diff] [blame] | 15 | - hosts: "{{ target | default('all') }}" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 16 | become: true |
| 17 | roles: |
ricolin | 2f1cfea | 2022-11-26 03:35:56 +0800 | [diff] [blame] | 18 | - role: sysctl |
Mohammed Naser | 64f84a4 | 2022-09-01 16:59:30 -0400 | [diff] [blame] | 19 | - role: ethtool |
| 20 | tags: |
| 21 | - ethtool |
Mohammed Naser | 796853a | 2023-03-19 00:14:02 +0000 | [diff] [blame] | 22 | - role: vexxhost.kubernetes.containerd |
| 23 | vars: |
| 24 | containerd_pause_image: "{{ atmosphere_images['pause'] }}" |
Mohammed Naser | 336caf4 | 2022-03-11 17:56:45 -0500 | [diff] [blame] | 25 | - role: kubernetes |
Oleksandr Kozachenko | dcf6a8b | 2023-03-09 12:06:12 +0100 | [diff] [blame] | 26 | |
| 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 |