Server IP : 85.214.239.14 / Your IP : 18.191.116.61 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 : /proc/self/root/lib/python3/dist-packages/ansible_collections/cisco/ise/playbooks/ |
Upload File : |
--- # # ISE Internal User # - name: Create Internal User(s) Play hosts: ise_servers vars: - default_password: C1sco1234!5 - users: gather_facts: false tasks: # - name: internal_user # cisco.ise.internal_user: # ise_hostname: "{{ ise_hostname }}" # ise_username: "{{ ise_username }}" # ise_password: "{{ ise_password }}" # ise_verify: "{{ ise_verify }}" # state: present # name: '{{ item.name }}' # description: '{{ item.description | default() }}' # enabled: '{{ item.enabled | default(true) }}' # password: '{{ item.password | default(default_password) }}' # # ▼▼▼ optional attributes ▼▼▼ # # changePassword: '{{ item.changePassword | default(false) }}' # # passwordIDStore: '{{ item.idStore | default(Internal Users) }}' # # identityGroups: a1740510-8c01-11e6-996c-525400b48521 # # customAttributes: # # Created: # # Expired: # register: results # - name: Debug results # ansible.builtin.debug: var=results - name: internal_user thomas cisco.ise.internal_user: ise_hostname: "{{ ise_hostname }}" ise_username: "{{ ise_username }}" ise_password: "{{ ise_password }}" ise_verify: "{{ ise_verify }}" ise_debug: "{{ ise_debug }}" state: present name: thomas # password: "{{ default_password }}" changePassword: false enabled: true expiryDateEnabled: false passwordIDStore: Internal Users identityGroups: a1740510-8c01-11e6-996c-525400b48521 # Employee register: result - name: Print result ansible.builtin.debug: var: result # - name: internal_user employee # cisco.ise.internal_user: # ise_hostname: "{{ ise_hostname }}" # ise_username: "{{ ise_username }}" # ise_password: "{{ ise_password }}" # ise_verify: "{{ ise_verify }}" # ise_debug: "{{ ise_debug }}" # state: present # name: employee # password: "{{ default_password }}" # changePassword: false # enabled: true # expiryDateEnabled: false # passwordIDStore: Internal Users # identityGroups: a1740510-8c01-11e6-996c-525400b48521 # Employee # - name: internal_user radius-probe # cisco.ise.internal_user: # ise_hostname: "{{ ise_hostname }}" # ise_username: "{{ ise_username }}" # ise_password: "{{ ise_password }}" # ise_verify: "{{ ise_verify }}" # state: present # name: radius-probe # password: "{{ default_password }}" # changePassword: false # enabled: true # expiryDateEnabled: false # passwordIDStore: Internal Users # identityGroups: a1740510-8c01-11e6-996c-525400b48521 # Employee # - name: internal_user meraki_8021x_test # cisco.ise.internal_user: # ise_hostname: "{{ ise_hostname }}" # ise_username: "{{ ise_username }}" # ise_password: "{{ ise_password }}" # ise_verify: "{{ ise_verify }}" # state: present # name: meraki_8021x_test # password: "{{ default_password }}" # changePassword: false # enabled: true # expiryDateEnabled: false # passwordIDStore: Internal Users # identityGroups: a1740510-8c01-11e6-996c-525400b48521 # Employee