Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.118.151.112
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/ansible_collections/dellemc/openmanage/playbooks/idrac/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/ansible_collections/dellemc/openmanage/playbooks/idrac/idrac_user.yml
---
- hosts: idrac
  connection: local
  name: Configure the iDRAC users attributes
  gather_facts: False

  collections:
    - dellemc.openmanage

  tasks:
  - name: Configure the create iDRAC users attributes
    idrac_user:
       idrac_ip: "{{ idrac_ip }}"
       idrac_user: "{{ idrac_user }}"
       idrac_password: "{{ idrac_password }}"
       ca_path: "/path/to/ca_cert.pem"
       state: "present"
       user_name: "user_name"
       user_password: "user_password"
       privilege: "Administrator"
       ipmi_lan_privilege: "User"
       enable: "true"
       sol_enable: "true"
       protocol_enable: "true"
       authentication_protocol: "MD5"
       privacy_protocol: "DES"
    tags:
      - create-user

  - name: Configure the modify iDRAC users attributes
    idrac_user:
       idrac_ip: "{{ idrac_ip }}"
       idrac_user: "{{ idrac_user }}"
       idrac_password: "{{ idrac_password }}"
       ca_path: "/path/to/ca_cert.pem"
       action: "present"
       user_name: "user_name"
       new_user_name: "new_user_name"
       privilege: "Administrator"
       ipmi_lan_privilege: "User"
       enable: "true"
       sol_enable: "true"
       protocol_enable: "true"
       authentication_protocol: "MD5"
       privacy_protocol: "DES"
    tags:
      - modify-user

  - name: Configure the modify iDRAC username and password attributes.
    idrac_user:
       idrac_ip: "{{ idrac_ip }}"
       idrac_user: "{{ idrac_user }}"
       idrac_password: "{{ idrac_password }}"
       ca_path: "/path/to/ca_cert.pem"
       action: "present"
       user_name: "user_name"
       new_user_name: "new_user_name"
       user_password: "user_password"
    tags:
      - modify-username

  - name: Configure the delete iDRAC users attributes
    idrac_user:
       idrac_ip: "{{ idrac_ip }}"
       idrac_user: "{{ idrac_user }}"
       idrac_password: "{{ idrac_password }}"
       ca_path: "/path/to/ca_cert.pem"
       state: "absent"
       user_name: "user_name"
    tags:
      - remove-user

Anon7 - 2022
AnonSec Team