Clean up whitespace and formatting in main.yml for improved readability

This commit is contained in:
2026-03-27 15:12:08 +01:00
parent b201a21105
commit c94baae7ff

View File

@@ -1,5 +1,4 @@
--- ---
- import_tasks: show.yml - import_tasks: show.yml
tags: tags:
- show - show
@@ -13,7 +12,6 @@
tags: tags:
- basic - basic
# tags supported inside apt.yml # tags supported inside apt.yml
# #
# apt-update # apt-update
@@ -34,7 +32,6 @@
- ansible_facts['distribution'] == "Debian" - ansible_facts['distribution'] == "Debian"
tags: apt tags: apt
# tags supported inside apt-gateway.yml: # tags supported inside apt-gateway.yml:
# #
# #
@@ -44,7 +41,6 @@
- apt - apt
- apt-gateway-server - apt-gateway-server
# #
# yum-update # yum-update
# yum-base-install # yum-base-install
@@ -55,7 +51,6 @@
- ansible_facts.distribution == "CentOS" or ansible_facts.distribution == "Fedora" - ansible_facts.distribution == "CentOS" or ansible_facts.distribution == "Fedora"
tags: yum tags: yum
# tags supportetd inside caching-nameserver.yml # tags supportetd inside caching-nameserver.yml
# #
# apt-caching-nameserver # apt-caching-nameserver
@@ -65,7 +60,6 @@
when: groups['caching_nameserver']|string is search(inventory_hostname) when: groups['caching_nameserver']|string is search(inventory_hostname)
tags: caching-nameserver tags: caching-nameserver
# tags supported inside systemd-resolved.yml # tags supported inside systemd-resolved.yml
# #
# systemd-resolved # systemd-resolved
@@ -77,8 +71,6 @@
- ansible_facts['distribution_major_version'] > "11" - ansible_facts['distribution_major_version'] > "11"
- systemd_resolved is defined and systemd_resolved|bool - systemd_resolved is defined and systemd_resolved|bool
- import_tasks: tor.yml - import_tasks: tor.yml
when: when:
- inventory_hostname in groups['mail_server'] - inventory_hostname in groups['mail_server']
@@ -103,7 +95,6 @@
- vim-config - vim-config
- zsh-config - zsh-config
# tags supported inside users.yml: # tags supported inside users.yml:
# #
# users-exists # users-exists
@@ -118,7 +109,6 @@
tags: tags:
- users - users
# tags supported inside users-systemfiles.yml: # tags supported inside users-systemfiles.yml:
# #
# bash # bash
@@ -129,7 +119,6 @@
- users - users
- users-systemfiles - users-systemfiles
# tags supported inside webadmin-user.yml: # tags supported inside webadmin-user.yml:
# #
# users-exists # users-exists
@@ -145,14 +134,12 @@
- users-systemfiles - users-systemfiles
- webadmin - webadmin
# tags supported inside sshd.yml # tags supported inside sshd.yml
# #
# sshd-config # sshd-config
- import_tasks: sshd.yml - import_tasks: sshd.yml
tags: sshd tags: sshd
# tags supported inside sudoers.yml: # tags supported inside sudoers.yml:
# #
# sudoers-remove # sudoers-remove
@@ -161,11 +148,9 @@
- import_tasks: sudoers.yml - import_tasks: sudoers.yml
tags: sudoers tags: sudoers
- import_tasks: motd.yml - import_tasks: motd.yml
tags: motd tags: motd
# tags supported inside ntp.yml: # tags supported inside ntp.yml:
# #
# ntp-server # ntp-server
@@ -175,7 +160,6 @@
when: when:
- "'lxc_guest' not in group_names" - "'lxc_guest' not in group_names"
# tags supportetd inside git.yml # tags supportetd inside git.yml
# #
# git-firewall-repository # git-firewall-repository
@@ -198,7 +182,6 @@
- import_tasks: git.yml - import_tasks: git.yml
tags: git tags: git
# tags supported inside nfs.yml: # tags supported inside nfs.yml:
# #
# nfs-server # nfs-server
@@ -207,7 +190,6 @@
tags: tags:
- nfs - nfs
# tags supported inside x2go-server.yml: # tags supported inside x2go-server.yml:
# #
# x2go-server # x2go-server
@@ -216,7 +198,6 @@
tags: tags:
- x2go - x2go
# tags supported inside copy_files.yml: # tags supported inside copy_files.yml:
# #
# copy-files # copy-files
@@ -233,7 +214,6 @@
tags: tags:
- symlink-files - symlink-files
# tags supported inside config_files_mailsystem_scripts.yml: # tags supported inside config_files_mailsystem_scripts.yml:
# #
- import_tasks: config_files_mailsystem_scripts.yml - import_tasks: config_files_mailsystem_scripts.yml
@@ -299,10 +279,8 @@
tags: tags:
- services - services
- import_tasks: systemd-services_redhat_based_OS.yml - import_tasks: systemd-services_redhat_based_OS.yml
when: when:
- ansible_facts.os_family == "RedHat" - ansible_facts.os_family == "RedHat"
tags: tags:
- services - services