Commit ece9c36f authored by EKbfh's avatar EKbfh 🐼
Browse files

Merge branch 'fix-deprecation_warning' into 'master'

Ansible: fix deprecation warning

See merge request !6241
parents e02154f5 b0edc3d5
Pipeline #36043 passed with stages
in 35 minutes and 13 seconds
......@@ -15,7 +15,7 @@
mode: "0640"
when:
- noc_services is defined
- noc_services
- (noc_services)
- name: Generate NOC config
template:
......@@ -27,7 +27,7 @@
no_log: "{{ tower_show_secrets }}"
when:
- noc_services is defined
- noc_services
- (noc_services)
- name: Generate NOC config for pooled services
template:
......@@ -39,7 +39,7 @@
no_log: "{{ tower_show_secrets }}"
when:
- noc_services is defined
- noc_services
- (noc_services)
vars:
pool_name: "{{ item.name }}"
with_items:
......
......@@ -78,7 +78,7 @@
when:
- "'Linux' in ansible_system"
# fight against thousands of time-wait connections.
# fight against thousands of time-wait connections
# good enough reading https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux
# that one is dangerous
- name: Tune sysctl.conf for consul
......
......@@ -65,7 +65,7 @@
- name: ACL config
include_tasks: acl.yml
when: consul_acl_enable
when: (consul_acl_enable)
tags:
- config
......
......@@ -18,7 +18,7 @@
- requirements
- name: PostgreSQL init db
command: '{{ postgres_bin_dir }}/postgresql{% if postgres_version == "14" %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
command: '{{ postgres_bin_dir }}/postgresql-{% if postgres_version == "14" %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
args:
creates: /var/lib/pgsql/{{ postgres_version }}/initdb.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment