Drop trailing whitespaces
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
David Prevot 2023-01-06 09:54:51 +01:00
parent 90ba88e157
commit dbef71d791
19 changed files with 19 additions and 19 deletions

View File

@ -20,7 +20,7 @@ docker_remote_access_enabled: False
docker_daemon_port: 2376 docker_daemon_port: 2376
docker_daemon_listening_ip: 0.0.0.0 docker_daemon_listening_ip: 0.0.0.0
# TLS # TLS
docker_tls_enabled: False docker_tls_enabled: False
docker_tls_path: "{{ docker_home }}/tls" docker_tls_path: "{{ docker_home }}/tls"
docker_tls_ca: ca/ca.pem docker_tls_ca: ca/ca.pem

View File

@ -87,7 +87,7 @@
name: log2mail name: log2mail
state: present state: present
tags: dovecot tags: dovecot
- name: dovecot is configured in log2mail - name: dovecot is configured in log2mail
blockinfile: blockinfile:
path: /etc/log2mail/config/mail.conf path: /etc/log2mail/config/mail.conf

View File

@ -6,7 +6,7 @@
state: present state: present
tags: tags:
- etc-git - etc-git
when: when:
- ansible_distribution == "Debian" - ansible_distribution == "Debian"
- name: Install and configure utilities - name: Install and configure utilities

View File

@ -51,7 +51,7 @@
register: is_cron_installed register: is_cron_installed
- block: - block:
- name: Legacy cron jobs for /etc/.git status are absent - name: Legacy cron jobs for /etc/.git status are absent
file: file:
dest: "{{ item }}" dest: "{{ item }}"
state: absent state: absent

View File

@ -16,7 +16,7 @@
vars: vars:
user: "{{ item.value }}" user: "{{ item.value }}"
loop: "{{ evolinux_users | dict2items }}" loop: "{{ evolinux_users | dict2items }}"
when: when:
- user.create == evolinux_users_create - user.create == evolinux_users_create
- evolinux_users | length > 0 - evolinux_users | length > 0

View File

@ -11,7 +11,7 @@
path: "{{ lxc_rootfs_path }}/etc/systemd/system/{{ lxc_php_services[lxc_php_version] }}.d" path: "{{ lxc_rootfs_path }}/etc/systemd/system/{{ lxc_php_services[lxc_php_version] }}.d"
state: directory state: directory
register: systemd_path register: systemd_path
- name: "[Service] est présent dans la surchage des services PHP-FPM des conteneurs LXC." - name: "[Service] est présent dans la surchage des services PHP-FPM des conteneurs LXC."
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: "{{ systemd_path.path }}/evolinux.conf" path: "{{ systemd_path.path }}/evolinux.conf"

View File

@ -8,7 +8,7 @@
- block: - block:
- name: Install dependencies - name: Install dependencies
apt: apt:
name: name:
- libcache-memcached-perl - libcache-memcached-perl
- libmemcached11 - libmemcached11

View File

@ -3,7 +3,7 @@
- fail: - fail:
msg: Not compatible with Debian 11 (Bullseye) msg: Not compatible with Debian 11 (Bullseye)
when: when:
- ansible_distribution_release == "bullseye" - ansible_distribution_release == "bullseye"
- mongodb_version is version('5.0', '<') - mongodb_version is version('5.0', '<')
- name: Look for legacy apt keyring - name: Look for legacy apt keyring

View File

@ -85,7 +85,7 @@
src: /usr/share/munin/plugins/sensors_ src: /usr/share/munin/plugins/sensors_
dest: "/etc/munin/plugins/sensors_{{ item }}" dest: "/etc/munin/plugins/sensors_{{ item }}"
state: link state: link
with_items: with_items:
- fan - fan
- temp - temp
when: ansible_virtualization_role == "host" when: ansible_virtualization_role == "host"

View File

@ -46,7 +46,7 @@
src: mysql_skip.systemd.j2 src: mysql_skip.systemd.j2
dest: /etc/systemd/system/mysql_skip.service dest: /etc/systemd/system/mysql_skip.service
force: yes force: yes
- name: "Start or stop systemd unit" - name: "Start or stop systemd unit"
systemd: systemd:
name: mysql_skip name: mysql_skip

View File

@ -66,7 +66,7 @@
- name: Include IP address whitelist task - name: Include IP address whitelist task
include: ip_whitelist.yml include: ip_whitelist.yml
- name: Copy evolinux_server_custom - name: Copy evolinux_server_custom
copy: copy:
src: nginx/snippets/evolinux_server_custom src: nginx/snippets/evolinux_server_custom
dest: /etc/nginx/snippets/evolinux_server_custom dest: /etc/nginx/snippets/evolinux_server_custom

View File

@ -290,6 +290,6 @@
The "push" parameter may be needed to push a route to the client, so that the client can access that route through OpenVPN. The "push" parameter may be needed to push a route to the client, so that the client can access that route through OpenVPN.
Take note of the generated CA password and store it in your password manager : {{ ca_pwd }} Take note of the generated CA password and store it in your password manager : {{ ca_pwd }}
Press enter to exit when it's done. Press enter to exit when it's done.

View File

@ -218,6 +218,6 @@
The "push" parameter may be needed to push a route to the client, so that the client can access that route through OpenVPN. The "push" parameter may be needed to push a route to the client, so that the client can access that route through OpenVPN.
Take note of the generated CA password and store it in your password manager : {{ ca_pwd }} Take note of the generated CA password and store it in your password manager : {{ ca_pwd }}
Press enter to exit when it's done. Press enter to exit when it's done.

View File

@ -1,5 +1,5 @@
--- ---
- name: "Set variables (Debian 12)" - name: "Set variables (Debian 12)"
set_fact: set_fact:
postgresql_version: '15' postgresql_version: '15'

View File

@ -1,5 +1,5 @@
--- ---
- name: "Set variables (Debian 11)" - name: "Set variables (Debian 11)"
set_fact: set_fact:
postgresql_version: '13' postgresql_version: '13'

View File

@ -70,7 +70,7 @@
loop_control: loop_control:
loop_var: _proftpd_account loop_var: _proftpd_account
notify: restart proftpd notify: restart proftpd
when: when:
- proftpd_sftp_enable | bool - proftpd_sftp_enable | bool
- proftpd_sftp_use_publickeys | bool - proftpd_sftp_use_publickeys | bool
tags: tags:

View File

@ -56,7 +56,7 @@
owner: root owner: root
group: root group: root
notify: restart proftpd notify: restart proftpd
when: when:
- proftpd_sftp_enable | bool - proftpd_sftp_enable | bool
- proftpd_sftp_use_publickeys | bool - proftpd_sftp_use_publickeys | bool
tags: tags:

View File

@ -24,7 +24,7 @@
- name: Fetch packages - name: Fetch packages
package_facts: package_facts:
manager: auto manager: auto
- debug: - debug:
var: ansible_facts.packages[squid_daemon_name] var: ansible_facts.packages[squid_daemon_name]

View File

@ -17,6 +17,6 @@
daemon_reload: yes daemon_reload: yes
enabled: yes enabled: yes
state: "{{ vrrp_address.state }}" state: "{{ vrrp_address.state }}"
when: when:
- vrrp_systemd_unit is changed - vrrp_systemd_unit is changed
- not ansible_check_mode - not ansible_check_mode