Skip to content

Commit 2327df4

Browse files
authored
Merge pull request #83 from mbaldessari/v1-branch
Update v1 branch
2 parents 34ab9c5 + 1310dd9 commit 2327df4

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010

1111
steps:
1212
- name: Checkout Code
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v6
1414
with:
1515
persist-credentials: false
1616

1717
- name: Lint Ansible Playbook
18-
uses: ansible/ansible-lint@d7cd7cfa2469536527aceaef9ef2ec6f2fb331cb
18+
uses: ansible/ansible-lint@43e758bad47344f1ce7b699c0020299f486a8026
1919
with:
2020
setup_python: "true"

.github/workflows/ansible-sanitytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout Code
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
path: ansible_collections/rhvp/cluster_utils
2222
persist-credentials: false

.github/workflows/ansible-unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout Code
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
path: ansible_collections/rhvp/cluster_utils
2222
persist-credentials: false

.github/workflows/jsonschema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout Code
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
persist-credentials: false
2121

.github/workflows/superlinter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout Code
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6
1616
with:
1717
# Full git history is needed to get a proper list of changed files within `super-linter`
1818
fetch-depth: 0

roles/vault_utils/tasks/vault_spokes_init.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@
3737
ansible.builtin.set_fact:
3838
clusters: "{{ clusters | default({}) | combine({item.metadata.name:
3939
{'server_api': item.spec.managedClusterClientConfigs[0].url,
40-
'cluster_fqdn': item.spec.managedClusterClientConfigs[0].url | ansible.builtin.urlsplit('hostname') | regex_replace('^api\\.', '')}}, recursive=True) }}"
40+
'cluster_fqdn':_cluster_fqdn }}, recursive=True) }}"
4141
loop: "{{ resources }}"
42+
vars:
43+
_cluster_fqdn: "{{ item.status.clusterClaims | selectattr('name', 'equalto', 'consoleurl.cluster.open-cluster-management.io')
44+
| map(attribute='value')
45+
| first | ansible.builtin.urlsplit('hostname') | regex_replace('console-openshift-console\\.apps\\.', '') }}"
4246
when: item.spec.managedClusterClientConfigs[0].url is defined
4347
loop_control:
4448
label: "{{ item.metadata.name }}"

0 commit comments

Comments
 (0)