
This reverts commit f093129b32
.
Reason for revert: This is breaking all airshipctl and treasuremap gate runner job. The issue is that, the services added here creates some dependency to time sync and few other services and due to which cloud init is stuck in running state forever. Please fix this issue and update a new PS with dependencies resolved.
root@ephemeral:/var/log# cloud-init status
status: running
root@ephemeral:/var/log# systemctl list-jobs
JOB UNIT TYPE STATE
69 xfs_scrub_all.timer start waiting
115 docker.service start running
80 systemd-update-utmp-runlevel.service start waiting
119 cloud-init.target start waiting
66 man-db.timer start waiting
73 fstrim.timer start waiting
112 hanging-cgroup-release.service start waiting
3 graphical.target start waiting
19 time-sync.target start waiting
126 cloud-final.service start waiting
4 multi-user.target start waiting
64 timers.target start waiting
67 e2scrub_all.timer start waiting
65 logrotate.timer start waiting
127 hanging-cgroup-release.timer start waiting
70 apt-daily-upgrade.timer start waiting
68 motd-news.timer start waiting
18 systemd-time-wait-sync.service start running
72 apt-daily.timer start waiting
Change-Id: I4eb5700d7f10861380be71c584cecfe9b48f965f
68 lines
2.3 KiB
YAML
68 lines
2.3 KiB
YAML
- name: "Including any user-defined vars"
|
|
include_vars:
|
|
file: main.yaml
|
|
name: user-vars
|
|
|
|
# Tasks run when building image-builder container
|
|
- name: "configure cloud-init"
|
|
include_tasks: cloud-init.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure modules"
|
|
include_tasks: modules.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure limits"
|
|
include_tasks: limits.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure sysctl"
|
|
include_tasks: sysctl.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure grub"
|
|
include_tasks: grub.yaml
|
|
when: run_context == default_run_context or run_context == qcow_run_context
|
|
- name: "configure kdump-tools"
|
|
include_tasks: kdump-tools.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure kubernetes"
|
|
include_tasks: kubernetes.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure locale"
|
|
include_tasks: locale.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure hostname and hosts"
|
|
include_tasks: hostname-hosts.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure banners"
|
|
include_tasks: banners.yaml
|
|
when: run_context == default_run_context
|
|
- name: "unattended upgrades"
|
|
include_tasks: unattended-upgrades.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure systemd-resolved"
|
|
include_tasks: systemd-resolved.yaml
|
|
when: run_context == default_run_context
|
|
- name: "configure base systemd"
|
|
include_tasks: systemd.yaml
|
|
when: run_context == default_run_context
|
|
- name: "fetch url resource"
|
|
include_tasks: fetch-from-url.yaml
|
|
when: run_context == default_run_context
|
|
|
|
# Context-dependent tasks
|
|
- name: "write user-provided files"
|
|
include_tasks: write-user-files.yaml
|
|
- name: "configure user-defined systemd"
|
|
include_tasks: systemd-user.yaml
|
|
- name: "run system-defined scripts for qcow"
|
|
include_tasks: runtime-system-scripts.yaml
|
|
when: run_context == qcow_run_context
|
|
- name: "run user-defined scripts"
|
|
include_tasks: user-scripts.yaml
|
|
- name: "configure file permissions"
|
|
include_tasks: file-permissions.yaml
|
|
- name: "configure user password settings"
|
|
include_tasks: user-management.yaml
|
|
|
|
# Context-independent cleanup tasks
|
|
- name: "finalize rootfs"
|
|
include_tasks: finalize-rootfs.yaml
|