-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from rebtoor/playbooks-refactoring
Moved roles from `configure_network.yml` playbook to `bootstrap.yml` playbook
- Loading branch information
Showing
2 changed files
with
50 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
|
||
- name: Bootstrap node | ||
hosts: all | ||
strategy: linear | ||
become: true | ||
tasks: | ||
- name: Grow volumes | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_growvols | ||
tags: | ||
- edpm_growvols | ||
- name: Install edpm_bootstrap | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_bootstrap | ||
tasks_from: bootstrap.yml | ||
tags: | ||
- edpm_bootstrap | ||
# This should be done very early in the bootstrap process | ||
# to ensure that the created users and groups are available | ||
# before any packages are installed or services are started | ||
# that may need them. | ||
- name: Configure host users and groups | ||
ansible.builtin.import_role: | ||
name: edpm_users | ||
tags: | ||
- edpm_users | ||
- name: Install edpm_kernel | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_kernel | ||
tags: | ||
- edpm_kernel | ||
- name: Import edpm_tuned | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_tuned | ||
tags: | ||
- edpm_tuned | ||
- name: Configure Kernel Args | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_kernel | ||
tasks_from: kernelargs.yml | ||
tags: | ||
- edpm_kernel | ||
- name: Configure KSM for kernel | ||
ansible.builtin.import_role: | ||
name: osp.edpm.edpm_kernel | ||
tasks_from: ksm.yml | ||
tags: | ||
- edpm_kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters