[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:
Jannik Beyerstedt 2022-02-13 20:52:22 +01:00
parent a9e89283a2
commit a8285962a9
13 changed files with 74 additions and 74 deletions

View file

@ -10,18 +10,18 @@
# if role has not changed, this will not be needed when just installing updates
- name: Install essential tools
ansible.builtin.include_tasks: essentials.yml
when: common_settingsonly | default(false) == false
ansible.builtin.include_tasks: essentials.yml
# if role has not changed, this will not be needed when just installing updates
- name: Install more tools
ansible.builtin.include_tasks: tools.yml
when: common_settingsonly | default(false) == false
ansible.builtin.include_tasks: tools.yml
# this will just run once, because of a lock-file
- name: Basics - Setup user shell
ansible.builtin.include_tasks: usersetup.yml
when: common_settingsonly | default(false) == false
ansible.builtin.include_tasks: usersetup.yml
# run this for every maintenance/ update cycle
- name: Apply user settings