Skip to content

Commit

Permalink
test-info: Update node ip running smb service
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 committed Jul 31, 2024
1 parent 61ddf47 commit a2c6d84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions playbooks/ansible/cluster-cephfs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---
node_network_public_interfaces: >-
{{
config.nodes |
dict2items |
selectattr('value.groups', 'contains', 'cluster') |
map(attribute='value.networks.public') |
list
}}
ctdb_network_private_interfaces: >-
{{
config.nodes |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
src: test-info.yml.j2
dest: /root/test-info.yml
vars:
public_interfaces: "{{ ctdb_network_public_interfaces }}"
public_interfaces: "{{ (config.be.variant == 'mgr') | ternary(node_network_public_interfaces, ctdb_network_public_interfaces) }}"

Check warning on line 33 in playbooks/ansible/roles/test.sit-test-cases/tasks/prepare/main.yml

View workflow job for this annotation

GitHub Actions / yamllint

33:121 [line-length] line too long (133 > 120 characters)
sharenames: "{{ samba_shares | map(attribute='name') | list }}"

- name: Create a symlink for test-info.yml file
Expand Down

0 comments on commit a2c6d84

Please sign in to comment.