aboutsummaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2024-01-22 15:27:32 +0100
committerMichal Arbet <michal.arbet@ultimum.io>2024-01-22 22:49:46 +0100
commit47ddac41312abf7d9f44a15b6ba6128e1eba582a (patch)
tree29c42aa2f6c614e4d2c1ff14beafa250c862ffa9 /roles
parent86ac820457d2cb9b010cb4d9923f8b3e9bc76ea5 (diff)
downloadkolla-ansible-47ddac41312abf7d9f44a15b6ba6128e1eba582a.tar.gz
kolla-ansible-47ddac41312abf7d9f44a15b6ba6128e1eba582a.zip
Bump ansible-lint version
The version that we were capping to is no longer compatible with latest upper-constraints.txt, so let us free float again. The resulting linting errors are included for now to unblock the gate, these will still need to be discussed or fixed later. NOTE(kevko): Temporarily disabling horizon deployment, as it's not possible to unblock gates without it Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io> Change-Id: Ib7f72b2663199ef80844a412bc436c6ef09322cc
Diffstat (limited to 'roles')
-rw-r--r--roles/cephadm/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/cephadm/tasks/main.yml b/roles/cephadm/tasks/main.yml
index 9aaa52965..7dcacd77b 100644
--- a/roles/cephadm/tasks/main.yml
+++ b/roles/cephadm/tasks/main.yml
@@ -33,7 +33,7 @@
- name: Bootstrap cephadm
vars:
- mon_ip: "{{ hostvars[inventory_hostname]['ansible_'+api_interface_name].ipv4.address }}"
+ mon_ip: "{{ hostvars[inventory_hostname]['ansible_' + api_interface_name].ipv4.address }}"
command:
cmd: >
cephadm
@@ -53,7 +53,7 @@
vars:
regexp: 'Cluster fsid: (.*)'
set_fact:
- ceph_fsid: "{{ cephadm_bootstrap_output.stdout | regex_search(regexp,'\\1') | first }}"
+ ceph_fsid: "{{ cephadm_bootstrap_output.stdout | regex_search(regexp, '\\1') | first }}"
- name: Template out cluster spec
template:
@@ -80,7 +80,7 @@
ceph_conf_fixed: |
[global]
fsid = {{ ceph_fsid }}
- mon_host = {% for host in groups['all'] %} {{ hostvars[host]['ansible_'+api_interface_name].ipv4.address }} {% if not loop.last %},{% endif %} {% endfor %}
+ mon_host = {% for host in groups['all'] %} {{ hostvars[host]['ansible_' + api_interface_name].ipv4.address }} {% if not loop.last %},{% endif %} {% endfor %}
copy:
content: "{{ ceph_conf_fixed }}"
dest: "/etc/ceph/ceph.conf.fixed"