Skip to content

Commit

Permalink
Merge cb3746f into d8138b6
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-maier committed Nov 11, 2020
2 parents d8138b6 + cb3746f commit b8c50ab
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 97 deletions.
3 changes: 3 additions & 0 deletions docs/changes.rst
Expand Up @@ -67,6 +67,9 @@ Released: not yet
information about a CPC in DPM mode and its I/O configuration and
creates a markdown file showing the result.

* Added support in the zhmc_crypto_attachment module for specifying crypto
adapters by name instead of just their count. (See issue #187)

**Known issues:**

* See `list of open issues`_.
Expand Down
27 changes: 27 additions & 0 deletions playbooks/attach_crypto_byname.yml
@@ -0,0 +1,27 @@
---
- hosts: localhost
connection: local
vars_files:
- vars.yml
- vault.yml
tasks:

- name: "Ensure domains 2-max on 2 specific adapters are attached in usage mode to partition {{ partition_name }}"
zhmc_crypto_attachment:
hmc_host: "{{ hmc_host }}"
hmc_auth: "{{ hmc_auth }}"
cpc_name: "{{ cpc_name }}"
partition_name: "{{ partition_name }}"
state: attached
crypto_type: ep11
adapter_names:
- CRYP00
- CRYP01
domain_range: 2,-1
access_mode: usage
log_file: crypto.log
register: result

- name: Print the result
debug:
var: result

0 comments on commit b8c50ab

Please sign in to comment.