|
@@ -4,11 +4,24 @@
|
|
|
#
|
|
|
# NOTE: If you want to skip the dangerous parts, use --skip-tags=destroy
|
|
|
#
|
|
|
+# Perform the preparation tasks for agent-based installation.
|
|
|
+# Basically the same as 50-coreos-inst-prep.yml plus a couple of steps.
|
|
|
+#
|
|
|
+# TODO: somehow skip the reset of the DNS zones and DHCP config.
|
|
|
+- import_playbook: 50-install-prepare.yml
|
|
|
+
|
|
|
- name: Prepare the files required for a SNO installation using agent install.
|
|
|
hosts: workstation.lab.example.com
|
|
|
become: no
|
|
|
gather_subset: min
|
|
|
tasks:
|
|
|
+ # NOTE: This one is actually a prep item, but it's only needed for agent installs.
|
|
|
+ - name: Ensure nmstate is installed.
|
|
|
+ become: yes
|
|
|
+ ansible.builtin.yum:
|
|
|
+ name: nmstate
|
|
|
+ state: present
|
|
|
+
|
|
|
- name: Check the dependency status.
|
|
|
ansible.builtin.stat:
|
|
|
path: "{{ ansible_facts['user_dir'] }}/{{ item }}"
|