diff --git a/etc/kayobe/ansible/cis.yml b/etc/kayobe/ansible/cis.yml index 48022278e..7f41ad9fa 100644 --- a/etc/kayobe/ansible/cis.yml +++ b/etc/kayobe/ansible/cis.yml @@ -35,9 +35,7 @@ - include_role: name: ansible-lockdown.rhel9_cis when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9' - tags: always - include_role: name: ansible-lockdown.ubuntu22_cis when: ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '22' - tags: always diff --git a/etc/kayobe/ansible/reboot.yml b/etc/kayobe/ansible/reboot.yml index f53e02875..92603ade2 100644 --- a/etc/kayobe/ansible/reboot.yml +++ b/etc/kayobe/ansible/reboot.yml @@ -4,6 +4,7 @@ serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}" gather_facts: false vars: + reboot_timeout_s: "{{ 20 * 60 }}" reboot_with_bootstrap_user: false ansible_user: "{{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}" ansible_ssh_common_args: "{{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}" @@ -14,3 +15,13 @@ - name: Reboot and wait become: true reboot: + reboot_timeout: "{{ reboot_timeout_s }}" + search_paths: + # Systems running molly-guard hang waiting for confirmation before rebooting without this. + - "/lib/molly-guard" + # Default list: + - "/sbin" + - "/bin" + - "/usr/sbin" + - "/usr/bin" + - "/usr/local/sbin" diff --git a/etc/kayobe/ansible/ubuntu-upgrade.yml b/etc/kayobe/ansible/ubuntu-upgrade.yml index 66ed49643..b7cfe7338 100644 --- a/etc/kayobe/ansible/ubuntu-upgrade.yml +++ b/etc/kayobe/ansible/ubuntu-upgrade.yml @@ -40,6 +40,15 @@ reboot: reboot_timeout: "{{ reboot_timeout_s }}" connect_timeout: 600 + search_paths: + # Systems running molly-guard hang waiting for confirmation before rebooting without this. + - "/lib/molly-guard" + # Default list: + - "/sbin" + - "/bin" + - "/usr/sbin" + - "/usr/bin" + - "/usr/local/sbin" become: true when: file_status.stat.exists @@ -101,6 +110,15 @@ reboot: reboot_timeout: "{{ reboot_timeout_s }}" connect_timeout: 600 + search_paths: + # Systems running molly-guard hang waiting for confirmation before rebooting without this. + - "/lib/molly-guard" + # Default list: + - "/sbin" + - "/bin" + - "/usr/sbin" + - "/usr/bin" + - "/usr/local/sbin" become: true - name: Update distribution facts diff --git a/terraform/aio/vm.tf b/terraform/aio/vm.tf index 50c0cc3dd..a0d097cbe 100644 --- a/terraform/aio/vm.tf +++ b/terraform/aio/vm.tf @@ -35,7 +35,7 @@ variable "aio_vm_subnet" { variable "aio_vm_volume_size" { type = number - default = 35 + default = 40 } variable "aio_vm_tags" {