images/image-builder/assets/playbooks/roles/osconfig/tasks/main.yaml
Craig Anderson caa1cffc0a image-builder for ubuntu based airship hosts
Builds ephemeral ISO and target host images.

Also replaces isogen (iso-builder) with a single ansible-driven build
tool for both types of airship images used: ephemeral ISO as well as
target QCOW2 images deployed to base nodes.

Change-Id: I6d0368de771869e4e645a03d8a20f470b34602ab
2020-12-03 23:16:14 -08:00

44 lines
1.3 KiB
YAML

- name: "Including any user-defined vars"
include_vars:
file: main.yaml
name: user-vars
- block:
- name: "write user-provided files"
include_tasks: write-user-files.yaml
- name: "configure cloud-init"
include_tasks: cloud-init.yaml
- name: "configure modules"
include_tasks: modules.yaml
- name: "configure limits"
include_tasks: limits.yaml
- name: "configure sysctl"
include_tasks: sysctl.yaml
- name: "configure grub"
include_tasks: grub.yaml
- name: "install and configure cni binaries"
include_tasks: cni.yaml
- name: "configure kubernetes"
include_tasks: kubernetes.yaml
- name: "configure locale"
include_tasks: locale.yaml
- name: "configure hostname and hosts"
include_tasks: hostname-hosts.yaml
- name: "configure banners"
include_tasks: banners.yaml
- name: "unattended upgrades"
include_tasks: unattended-upgrades.yaml
- name: "configure base systemd"
include_tasks: systemd.yaml
- name: "configure user-defined systemd"
include_tasks: systemd-user.yaml
- name: "configure file permissions"
include_tasks: file-permissions.yaml
- name: "finalise rootfs"
include_tasks: finalise-rootfs.yaml
tags: pre_install
- block:
- name: "POST-INSTALL | Starting post-install"
include_tasks: post-install.yaml
tags: post_install