thalesgroup.ciphertrust.cte_process_set module – Create and manage CTE process-sets

Note

This module is part of the thalesgroup.ciphertrust collection (version 1.0.0).

To install it, use: ansible-galaxy collection install thalesgroup.ciphertrust.

To use it in a playbook, specify: thalesgroup.ciphertrust.cte_process_set.

New in thalesgroup.ciphertrust 1.0.0

Synopsis

  • Create and edit CTE Process set or add, edit, or remove a process to or from the process set

Parameters

Parameter

Comments

description

string

Description of the process set

directory

string

directory path of the process which shall be associated with the process-set

file

string

file name of the process which shall be associated with the process-set

id

string

Identifier of the CTE ProcessSet to be patched or deleted

localNode

dictionary / required

this holds the connection parameters required to communicate with an instance of CipherTrust Manager (CM)

holds IP/FQDN of the server, username, password, and port

password

string / required

admin password of CM

server_ip

string / required

CM Server IP or FQDN

server_port

integer / required

Port on which CM server is listening

Default: 5432

server_private_ip

string / required

internal or private IP of the CM Server, if different from the server_ip

user

string / required

admin username of CM

verify

boolean / required

if SSL verification is required

Choices:

  • false ← (default)

  • true

name

string

Name of the process set

op_type

string / required

Operation to be performed

Choices:

  • "create"

  • "patch"

  • "add_process"

  • "patch_process"

  • "delete_process"

processes

string

List of processes to be added to the process set

processIndex

string

Identifier of the CTE Process within ProcessSet to be patched or deleted

signature

string

Signature-set ID or Name which shall be associated with the process-set

Examples

- name: "Create CTE ProcessSet"
  thalesgroup.ciphertrust.cte_process_set:
    localNode:
        server_ip: "IP/FQDN of CipherTrust Manager"
        server_private_ip: "Private IP in case that is different from above"
        server_port: 5432
        user: "CipherTrust Manager Username"
        password: "CipherTrust Manager Password"
        verify: false
    op_type: create
    name: TestProcessSet
    description: "via Ansible"
    processes:
      - signature: TestSignSet
        directory: "/home/testUser"
        file: "*"
      - signature: TestSignSet
        directory: "/home/test"
        file: "test.bin"
  register: process_set

- name: "Add process to ProcessSet"
  thalesgroup.ciphertrust.cte_process_set:
    localNode:
        server_ip: "IP/FQDN of CipherTrust Manager"
        server_private_ip: "Private IP in case that is different from above"
        server_port: 5432
        user: "CipherTrust Manager Username"
        password: "CipherTrust Manager Password"
        verify: false
    op_type: add_process
    id: "{{ process_set['response']['id'] }}"
    processes:
      - signature: TestSignSet
        directory: "/home/testAnother"
        file: "*"

Authors

  • Anurag Jain, Developer Advocate Thales Group