aboutsummaryrefslogtreecommitdiff
path: root/roles/guest-configure/tasks/main.yml
blob: 519fcf08b18b0bd9417340f4ab79d9f4d5e3fe1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- name: Wait for guest connectivity
  ansible.builtin.wait_for_connection:

- name: Gather facts
  ansible.builtin.setup:

- name: Import update task
  ansible.builtin.import_tasks: update.yml

- name: Import packages task
  ansible.builtin.import_tasks: packages.yml
  when: (guest_configure_packages | length > 0) or (guest_configure_packages_preq | length > 0)

- name: Import user creation task
  ansible.builtin.import_tasks: user.yml
  when: guest_configure_user | length > 0

- name: Import services task
  ansible.builtin.import_tasks: services.yml
  when: guest_configure_services | length > 0

- name: Import automatic-update task
  ansible.builtin.import_tasks: automatic-update.yml
  when: guest_configure_services | length > 0