Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Welsh committed Nov 7, 2024
1 parent 91d4349 commit 6679b59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions etc/kayobe/ansible/deploy-os-capacity-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@

- name: Set facts for admin credentials
ansible.builtin.set_fact:
stackhpc_os_capacity_auth_url: "{{ credential.stdout_lines | select('match', '.*OS_AUTH_URL*.')\
stackhpc_os_capacity_auth_url: "{{ credential.stdout_lines | select('match', '.*OS_AUTH_URL*.') \
| first | split('=') | last | replace(\"'\", '') }}"
stackhpc_os_capacity_project_name: "{{ credential.stdout_lines | select('match', '.*OS_PROJECT_NAME*.')\
stackhpc_os_capacity_project_name: "{{ credential.stdout_lines | select('match', '.*OS_PROJECT_NAME*.') \
| first | split('=') | last | replace(\"'\", '') }}"
stackhpc_os_capacity_domain_name: "{{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.')\
stackhpc_os_capacity_domain_name: "{{ credential.stdout_lines | select('match', '.*OS_PROJECT_DOMAIN_NAME*.') \
| first | split('=') | last | replace(\"'\", '') }}"
stackhpc_os_capacity_openstack_region_name: "{{ credential.stdout_lines | select('match', '.*OS_REGION_NAME*.')\
stackhpc_os_capacity_openstack_region_name: "{{ credential.stdout_lines | select('match', '.*OS_REGION_NAME*.') \
| first | split('=') | last | replace(\"'\", '') }}"
stackhpc_os_capacity_username: "{{ credential.stdout_lines | select('match', '.*OS_USERNAME*.')\
stackhpc_os_capacity_username: "{{ credential.stdout_lines | select('match', '.*OS_USERNAME*.') \
| first | split('=') | last | replace(\"'\", '') }}"
stackhpc_os_capacity_password: "{{ credential.stdout_lines | select('match', '.*OS_PASSWORD*.')\
stackhpc_os_capacity_password: "{{ credential.stdout_lines | select('match', '.*OS_PASSWORD*.') \
| first | split('=') | last | replace(\"'\", '') }}"
when: stackhpc_enable_os_capacity

Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/run-container-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@

- name: Run container_hotfix_command
ansible.builtin.command: "{{ kolla_container_engine | default('docker') }} exec \
{{ '-u 0' if container_hotfix_become else '' }} {{ hotfix_container }} {{ container_hotfix_command}}"
{{ '-u 0' if container_hotfix_become else '' }} {{ hotfix_container }} {{ container_hotfix_command }}"
when: container_hotfix_command

0 comments on commit 6679b59

Please sign in to comment.