Skip to content

Commit

Permalink
updating examples - comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adriane-cardozo committed Sep 11, 2017
1 parent 76731ce commit e8c2095
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

tasks:

- name : "Create Server Profile - {{ profile_name }}"
- name : "Create Server Profile {{ profile_name }} with 1 volume attachment (boot)"
oneview_server_profile:
config: "{{ config }}"
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

tasks:

- name : "Create/Update Server Profile - {{ profile_name }}"
- name : "Update Server Profile {{ profile_name }} adding another volume attachment"
oneview_server_profile:
config: "{{ config }}"
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

tasks:

- name : "Create/Update Server Profile - {{ profile_name1 }}"
- name : "Update Server Profile {{ profile_name1 }} removing volume attachment DATA1"
oneview_server_profile:
config: "{{ config }}"
data:
Expand Down Expand Up @@ -106,7 +106,7 @@
volumeStoragePoolName: "{{ storage_pool_name_A }}"
delegate_to: localhost

- name : "Create Server Profile - {{ profile_name2 }}"
- name : "Update Server Profile {{ profile_name2 }} adding volume attachment DATA1 removed from previous server profile"
oneview_server_profile:
config: "{{ config }}"
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
config: '{{ playbook_dir }}/oneview_config.json'
server_hardware_type_name: "SY 480 Gen9 3"
enclosure_group_name: "SYN107_EG"
server_hardware_name1: "2-USE722C99W-M, bay 1"
server_hardware_name2: "2-USE722C99W-M, bay 11"
profile_name1: "profile_san"
management_network: "Management"
Expand All @@ -27,18 +26,7 @@

tasks:

- name: Power Off the server hardware
oneview_server_hardware:
config: "{{ config }}"
state: power_state_set
data:
name : '{{ server_hardware_name1 }}'
powerStateData:
powerState: "Off"
powerControl: "PressAndHold"
delegate_to: localhost

- name : "Create/Update Server Profile - {{ profile_name1 }}"
- name : "Update Server Profile {{ profile_name1 }} initially assigned to bay 1 to bay 11, just changing the serverHardwareName"
oneview_server_profile:
config: "{{ config }}"
data:
Expand Down

0 comments on commit e8c2095

Please sign in to comment.