Skip to content

Commit

Permalink
Changing openstack ansible module to os_server_info (#5171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Crowe authored Jul 28, 2022
1 parent b7c4836 commit e7e53d0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ansible/cloud_providers/osp_infrastructure_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
OS_USER_DOMAIN_NAME: "{{ osp_auth_user_domain }}"
tasks:
- name: Gather instance facts
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
OS_USER_DOMAIN_NAME: "{{ osp_auth_user_domain }}"
tasks:
- name: Gather instance facts
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion ansible/configs/osp-migration/destroy_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
- name: Gather instance facts
environment:
OS_PROJECT_NAME: "{{ osp_project_name }}"
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion ansible/configs/osp-migration/infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
OS_PROJECT_NAME: "{{ osp_project_name }}"
OS_PROJECT_DOMAIN_ID: "{{ osp_auth_project_domain }}"
OS_USER_DOMAIN_NAME: "{{ osp_auth_user_domain }}"
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion ansible/configs/osp-satellite-vm/destroy_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
- name: Gather instance facts
environment:
OS_PROJECT_NAME: "{{ osp_project_name }}"
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion ansible/configs/osp-satellite-vm/infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
OS_PROJECT_NAME: "{{ osp_project_name }}"
OS_PROJECT_DOMAIN_ID: "{{ osp_auth_project_domain }}"
OS_USER_DOMAIN_NAME: "{{ osp_auth_user_domain }}"
openstack.cloud.server_info:
os_server_info:
server: "*"
filters:
metadata:
Expand Down
6 changes: 3 additions & 3 deletions ansible/lifecycle_osp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- when: ACTION == 'stop'
block:
- name: Gather instance facts
openstack.cloud.server_info:
os_server_info:
filters:
metadata:
guid: "{{ guid }}"
Expand All @@ -37,7 +37,7 @@
- when: ACTION == 'start'
block:
- name: Gather instance facts
openstack.cloud.server_info:
os_server_info:
filters:
metadata:
guid: "{{ guid }}"
Expand Down Expand Up @@ -67,7 +67,7 @@
- when: ACTION == 'status'
block:
- name: Get OSP facts using (guid, env_type) metadata
openstack.cloud.server_info:
os_server_info:
filters:
metadata:
guid: "{{ guid }}"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles-infra/infra-osp-dry-run/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
- validate_heat_template

- name: Gather instance facts
openstack.cloud.server_info:
os_server_info:
server: "*"
register: r_osp_facts

0 comments on commit e7e53d0

Please sign in to comment.