refactor(bootstrap,configuration): add per-role _normalize.yml for platform resolution
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
---
|
||||
- name: Normalize bootstrap
|
||||
ansible.builtin.import_tasks: _normalize.yml
|
||||
|
||||
- name: Create API filesystem mountpoints in installroot
|
||||
when: is_rhel | bool
|
||||
when: os_family == 'RedHat'
|
||||
ansible.builtin.file:
|
||||
path: "/mnt/{{ item }}"
|
||||
state: directory
|
||||
@@ -11,7 +14,7 @@
|
||||
- sys
|
||||
|
||||
- name: Mount API filesystems into installroot
|
||||
when: is_rhel | bool
|
||||
when: os_family == 'RedHat'
|
||||
ansible.posix.mount:
|
||||
src: "{{ item.src }}"
|
||||
path: "/mnt/{{ item.path }}"
|
||||
|
||||
Reference in New Issue
Block a user