From 7dc6f0b849dc1e47d3b8abc3ebfe09b04539e6a3 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 13 May 2021 15:23:05 +0200 Subject: [PATCH] remove trailing whitespaces --- apache/tasks/auth.yml | 2 +- bind/tasks/main.yml | 2 +- etc-git/tasks/commit.yml | 4 ++-- evolinux-base/tasks/main.yml | 2 +- fluentd/defaults/main.yml | 8 ++++---- haproxy/defaults/main.yml | 2 +- ldap/tasks/ldapvirc.yml | 6 +++--- ldap/tasks/nagios.yml | 2 +- logstash/tasks/logs.yml | 2 +- lxc-php/tasks/php74.yml | 4 ++-- lxc/meta/main.yml | 2 +- percona/tasks/xtrabackup.yml | 2 +- postgresql/tasks/postgis.yml | 2 +- spamassasin/tasks/main.yml | 2 +- squid/tasks/systemd.yml | 2 +- webapps/evoadmin-mail/tasks/nginx.yml | 2 +- webapps/roundcube/tasks/main.yml | 2 +- 17 files changed, 24 insertions(+), 24 deletions(-) diff --git a/apache/tasks/auth.yml b/apache/tasks/auth.yml index b66fbe98..fd01517c 100644 --- a/apache/tasks/auth.yml +++ b/apache/tasks/auth.yml @@ -10,7 +10,7 @@ force: no tags: - apache - + - name: Load IP whitelist task include: ip_whitelist.yml diff --git a/bind/tasks/main.yml b/bind/tasks/main.yml index 67f8662f..d1348cd2 100644 --- a/bind/tasks/main.yml +++ b/bind/tasks/main.yml @@ -104,7 +104,7 @@ - debug: var: chrootbind_run.stdout_lines - when: + when: - bind_chroot_set | bool - chrootbind_run.stdout | length > 0 diff --git a/etc-git/tasks/commit.yml b/etc-git/tasks/commit.yml index 9833601e..db167f5d 100644 --- a/etc-git/tasks/commit.yml +++ b/etc-git/tasks/commit.yml @@ -8,7 +8,7 @@ - include: do_commit.yml vars: git_folder: "/etc" - when: + when: - _etc_git.stat.exists - _etc_git.stat.isdir @@ -23,5 +23,5 @@ vars: git_folder: "/usr/share/scripts" when: - - _usr_share_scripts_git.stat.exists + - _usr_share_scripts_git.stat.exists - _usr_share_scripts_git.stat.isdir diff --git a/evolinux-base/tasks/main.yml b/evolinux-base/tasks/main.yml index 5ee935d6..2da87162 100644 --- a/evolinux-base/tasks/main.yml +++ b/evolinux-base/tasks/main.yml @@ -57,7 +57,7 @@ - name: SSH configuration include: ssh.yml when: evolinux_ssh_include | bool - + ### disabled because of a memory leak # - name: Create evolinux users # include_role: diff --git a/fluentd/defaults/main.yml b/fluentd/defaults/main.yml index c17cb312..86475f51 100644 --- a/fluentd/defaults/main.yml +++ b/fluentd/defaults/main.yml @@ -3,10 +3,10 @@ fluentd_daemon: td-agent fluentd_conf_path: /etc/td-agent/td-agent.conf fluentd_port: 24230 -fluentd_bind_interface: +fluentd_bind_interface: -fluentd_host: -fluentd_host_port: +fluentd_host: +fluentd_host_port: -fluentd_flush_interval: +fluentd_flush_interval: fluentd_heartbeat_type: diff --git a/haproxy/defaults/main.yml b/haproxy/defaults/main.yml index 3e3ec047..b94d2872 100644 --- a/haproxy/defaults/main.yml +++ b/haproxy/defaults/main.yml @@ -19,7 +19,7 @@ haproxy_stats_external_url: "{% if haproxy_stats_ssl %}https:{% else %}http:{% e haproxy_stats_access_ips: [] haproxy_stats_admin_ips: [] haproxy_stats_users: [] -## use crypt(8) password encryption +## use crypt(8) password encryption # haproxy_stats_users: # - { login: "", password: "" } diff --git a/ldap/tasks/ldapvirc.yml b/ldap/tasks/ldapvirc.yml index 9b015249..f44249d6 100644 --- a/ldap/tasks/ldapvirc.yml +++ b/ldap/tasks/ldapvirc.yml @@ -9,7 +9,7 @@ - name: Warning when ldapvirc file is present and ldap_admin_password is given debug: msg: "WARNING: an LDAP admin password is given, but an ldapvirc file already exists. It will not be updated." - when: + when: - ldap_admin_password | length > 0 - root_ldapvirc_path.stat.exists @@ -28,7 +28,7 @@ - ldap_admin_password | length == 0 - not root_ldapvirc_path.stat.exists -# Use the generated password or the one found in the file +# Use the generated password or the one found in the file - name: overwrite ldap_admin_password set_fact: ldap_admin_password: "{{ new_ldap_admin_password.stdout }}" @@ -56,7 +56,7 @@ check_mode: no register: new_ldap_admin_password -# Use the password found in the file +# Use the password found in the file - name: overwrite ldap_admin_password set_fact: ldap_admin_password: "{{ new_ldap_admin_password.stdout }}" diff --git a/ldap/tasks/nagios.yml b/ldap/tasks/nagios.yml index 90921bf2..0c92f7b3 100644 --- a/ldap/tasks/nagios.yml +++ b/ldap/tasks/nagios.yml @@ -30,7 +30,7 @@ - ldap_nagios_password | length == 0 - not nagios_monitoring_plugins_path.stat.exists -# Use the generated password or the one found in the file +# Use the generated password or the one found in the file - name: overwrite ldap_nagios_password (from apg) set_fact: ldap_nagios_password: "{{ new_ldap_nagios_password.stdout }}" diff --git a/logstash/tasks/logs.yml b/logstash/tasks/logs.yml index 4417bd89..bfeb1a1b 100644 --- a/logstash/tasks/logs.yml +++ b/logstash/tasks/logs.yml @@ -4,7 +4,7 @@ failed_when: False changed_when: False register: is_cron_installed - + - name: "log rotation script" template: src: rotate_logstash_logs.j2 diff --git a/lxc-php/tasks/php74.yml b/lxc-php/tasks/php74.yml index 1f3bc516..43de6f3c 100644 --- a/lxc-php/tasks/php74.yml +++ b/lxc-php/tasks/php74.yml @@ -1,5 +1,5 @@ --- - + - name: "{{ lxc_php_version }} - Install dependency packages" lxc_container: name: "{{ lxc_php_version }}" @@ -32,7 +32,7 @@ lxc_container: name: "{{ lxc_php_version }}" container_command: "DEBIAN_FRONTEND=noninteractive apt update" - + - name: "{{ lxc_php_version }} - Install PHP packages" lxc_container: name: "{{ lxc_php_version }}" diff --git a/lxc/meta/main.yml b/lxc/meta/main.yml index f6af051d..6208702b 100644 --- a/lxc/meta/main.yml +++ b/lxc/meta/main.yml @@ -1,6 +1,6 @@ galaxy_info: author: Evolix - description: Creation of LXC Containers + description: Creation of LXC Containers issue_tracker_url: https://gitea.evolix.org/evolix/ansible-roles/issues diff --git a/percona/tasks/xtrabackup.yml b/percona/tasks/xtrabackup.yml index 2cf221bb..7d4e29d1 100644 --- a/percona/tasks/xtrabackup.yml +++ b/percona/tasks/xtrabackup.yml @@ -2,7 +2,7 @@ - name: Percona Tools is enabled command: percona-release enable tools release - # changed_when: + # changed_when: # register: percona__release_enable_tools - name: APT cache is up-to-date diff --git a/postgresql/tasks/postgis.yml b/postgresql/tasks/postgis.yml index 0c18cb51..f2300943 100644 --- a/postgresql/tasks/postgis.yml +++ b/postgresql/tasks/postgis.yml @@ -1,5 +1,5 @@ --- -- name: Install PostGIS extention +- name: Install PostGIS extention apt: name: - postgis diff --git a/spamassasin/tasks/main.yml b/spamassasin/tasks/main.yml index 5c46a65b..fa4ab928 100644 --- a/spamassasin/tasks/main.yml +++ b/spamassasin/tasks/main.yml @@ -70,7 +70,7 @@ failed_when: False changed_when: False register: is_cron_installed - + - name: enable sa-update.sh cron lineinfile: dest: /etc/cron.d/sa-update diff --git a/squid/tasks/systemd.yml b/squid/tasks/systemd.yml index b3782d99..82b8760c 100644 --- a/squid/tasks/systemd.yml +++ b/squid/tasks/systemd.yml @@ -6,7 +6,7 @@ failed_when: False check_mode: no register: _squid_systemd_active - + - name: Squid systemd overrides directory exists file: dest: /etc/systemd/system/squid.service.d/ diff --git a/webapps/evoadmin-mail/tasks/nginx.yml b/webapps/evoadmin-mail/tasks/nginx.yml index 6804984d..2cb490e8 100644 --- a/webapps/evoadmin-mail/tasks/nginx.yml +++ b/webapps/evoadmin-mail/tasks/nginx.yml @@ -15,7 +15,7 @@ tags: - evoadmin-mail -- name: Active evoadminmail VHost +- name: Active evoadminmail VHost file: src: "/etc/nginx/sites-available/evoadminmail.conf" dest: "/etc/nginx/sites-enabled/evoadminmail.conf" diff --git a/webapps/roundcube/tasks/main.yml b/webapps/roundcube/tasks/main.yml index 46eaa022..08fe73d1 100644 --- a/webapps/roundcube/tasks/main.yml +++ b/webapps/roundcube/tasks/main.yml @@ -116,7 +116,7 @@ src: "/etc/nginx/sites-available/roundcube.conf" dest: "/etc/nginx/sites-enabled/roundcube.conf" state: link - when: roundcube_webserver == "nginx" + when: roundcube_webserver == "nginx" notify: reload nginx - name: enable roundcube link in default site index