[TIDY] move when statements, fix whitespace
Having the when condition of a task at the top instead of bottom is easiert to read. Also some spaces were another whitespace character on accident.
This commit is contained in:
parent
a9e89283a2
commit
a8285962a9
13 changed files with 74 additions and 74 deletions
|
@ -69,27 +69,27 @@ Or call the different tasks individually:
|
|||
hosts: all
|
||||
tasks:
|
||||
- name: Basics - Update first
|
||||
when: common_settingsonly | default(false) == false
|
||||
ansible.builtin.import_role:
|
||||
name: common
|
||||
tasks_from: update
|
||||
when: common_settingsonly | default(false) == false
|
||||
|
||||
## Run rasks from the role's main.yml
|
||||
- name: Basics - Install essential tools
|
||||
when: common_settingsonly | default(false) == false
|
||||
ansible.builtin.import_role:
|
||||
name: common
|
||||
tasks_from: essentials
|
||||
when: common_settingsonly | default(false) == false
|
||||
- name: Basics - Install basic tools
|
||||
when: common_settingsonly | default(false) == false
|
||||
ansible.builtin.import_role:
|
||||
name: common
|
||||
tasks_from: tools
|
||||
when: common_settingsonly | default(false) == false
|
||||
- name: Basics - Setup user shell
|
||||
when: common_settingsonly | default(false) == false
|
||||
ansible.builtin.import_role:
|
||||
name: common
|
||||
tasks_from: usersetup
|
||||
when: common_settingsonly | default(false) == false
|
||||
- name: Basics - Install dotfiles
|
||||
ansible.builtin.import_role:
|
||||
name: common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue