Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Ansible modules for cp_mgmt_user and cp_mgmt_user_facts

Duane_Toler
Advisor

Here are new Ansible modules for managing locally defined users on a management server.

https://github.com/duanetoler/AnsibleModule-cp_mgmt_user.git

 

Main play task:

---
- name: Get local users
  check_point.mgmt.cp_mgmt_user_facts:
    details_level: full
  register: local_user_facts

- include_tasks: reset_passwords.yml
  loop: "{{ local_user_facts['ansible_facts']['users']['objects'] }}"
  loop_control:
    loop_var: user_item
    label: "{{ u
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




0 Kudos
1 Reply

Duane_Toler
Advisor

FYI, the cp_mgmt_user module has limited parameters, I'm afraid.  This is meant for temporary use until R&D publishes their own official modules.  It's meant just to handle the current CVE incident to reset local passwords.

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos