Drop trailing whitespaces
gitea/ansible-roles/pipeline/head This commit looks good
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
This commit is contained in:
parent
90ba88e157
commit
dbef71d791
|
@ -20,7 +20,7 @@ docker_remote_access_enabled: False
|
|||
docker_daemon_port: 2376
|
||||
docker_daemon_listening_ip: 0.0.0.0
|
||||
|
||||
# TLS
|
||||
# TLS
|
||||
docker_tls_enabled: False
|
||||
docker_tls_path: "{{ docker_home }}/tls"
|
||||
docker_tls_ca: ca/ca.pem
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
name: log2mail
|
||||
state: present
|
||||
tags: dovecot
|
||||
|
||||
|
||||
- name: dovecot is configured in log2mail
|
||||
blockinfile:
|
||||
path: /etc/log2mail/config/mail.conf
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
state: present
|
||||
tags:
|
||||
- etc-git
|
||||
when:
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
|
||||
- name: Install and configure utilities
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
register: is_cron_installed
|
||||
|
||||
- block:
|
||||
- name: Legacy cron jobs for /etc/.git status are absent
|
||||
- name: Legacy cron jobs for /etc/.git status are absent
|
||||
file:
|
||||
dest: "{{ item }}"
|
||||
state: absent
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
vars:
|
||||
user: "{{ item.value }}"
|
||||
loop: "{{ evolinux_users | dict2items }}"
|
||||
when:
|
||||
when:
|
||||
- user.create == evolinux_users_create
|
||||
- evolinux_users | length > 0
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
path: "{{ lxc_rootfs_path }}/etc/systemd/system/{{ lxc_php_services[lxc_php_version] }}.d"
|
||||
state: directory
|
||||
register: systemd_path
|
||||
|
||||
|
||||
- name: "[Service] est présent dans la surchage des services PHP-FPM des conteneurs LXC."
|
||||
ansible.builtin.lineinfile:
|
||||
path: "{{ systemd_path.path }}/evolinux.conf"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
- block:
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name:
|
||||
name:
|
||||
- libcache-memcached-perl
|
||||
- libmemcached11
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- fail:
|
||||
msg: Not compatible with Debian 11 (Bullseye)
|
||||
when:
|
||||
- ansible_distribution_release == "bullseye"
|
||||
- ansible_distribution_release == "bullseye"
|
||||
- mongodb_version is version('5.0', '<')
|
||||
|
||||
- name: Look for legacy apt keyring
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
src: /usr/share/munin/plugins/sensors_
|
||||
dest: "/etc/munin/plugins/sensors_{{ item }}"
|
||||
state: link
|
||||
with_items:
|
||||
with_items:
|
||||
- fan
|
||||
- temp
|
||||
when: ansible_virtualization_role == "host"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
src: mysql_skip.systemd.j2
|
||||
dest: /etc/systemd/system/mysql_skip.service
|
||||
force: yes
|
||||
|
||||
|
||||
- name: "Start or stop systemd unit"
|
||||
systemd:
|
||||
name: mysql_skip
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
- name: Include IP address whitelist task
|
||||
include: ip_whitelist.yml
|
||||
|
||||
- name: Copy evolinux_server_custom
|
||||
- name: Copy evolinux_server_custom
|
||||
copy:
|
||||
src: nginx/snippets/evolinux_server_custom
|
||||
dest: /etc/nginx/snippets/evolinux_server_custom
|
||||
|
|
|
@ -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.
|
||||
|
||||
Take note of the generated CA password and store it in your password manager : {{ ca_pwd }}
|
||||
|
||||
|
||||
Press enter to exit when it's done.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
Take note of the generated CA password and store it in your password manager : {{ ca_pwd }}
|
||||
|
||||
|
||||
Press enter to exit when it's done.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
|
||||
|
||||
- name: "Set variables (Debian 12)"
|
||||
set_fact:
|
||||
postgresql_version: '15'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
|
||||
|
||||
- name: "Set variables (Debian 11)"
|
||||
set_fact:
|
||||
postgresql_version: '13'
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
loop_control:
|
||||
loop_var: _proftpd_account
|
||||
notify: restart proftpd
|
||||
when:
|
||||
when:
|
||||
- proftpd_sftp_enable | bool
|
||||
- proftpd_sftp_use_publickeys | bool
|
||||
tags:
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
notify: restart proftpd
|
||||
when:
|
||||
when:
|
||||
- proftpd_sftp_enable | bool
|
||||
- proftpd_sftp_use_publickeys | bool
|
||||
tags:
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
- name: Fetch packages
|
||||
package_facts:
|
||||
manager: auto
|
||||
manager: auto
|
||||
|
||||
- debug:
|
||||
var: ansible_facts.packages[squid_daemon_name]
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: "{{ vrrp_address.state }}"
|
||||
when:
|
||||
when:
|
||||
- vrrp_systemd_unit is changed
|
||||
- not ansible_check_mode
|
Loading…
Reference in New Issue