Server IP : 85.214.239.14 / Your IP : 3.128.206.7 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/cisco/ise/roles/aws_deployment/tasks/aws/ |
Upload File : |
- name: Create ISE VPC amazon.aws.ec2_vpc_net: name: "{{ aws_vpc_name }}" cidr_block: "{{ aws_vpc_cidr }}" region: "{{ aws_region }}" tags: name: ISE VPC register: vpc - name: Create subnet for ISE servers amazon.aws.ec2_vpc_subnet: state: present vpc_id: "{{ vpc.vpc.id }}" cidr: "{{ aws_subnet_cidr }}" region: "{{ aws_region }}" tags: Name: ISE Subnet register: subnet - name: ISE VPC SG Group amazon.aws.ec2_group: name: ISE Public Access description: ISE Security Group vpc_id: "{{ vpc.vpc.id }}" region: "{{ aws_region }}" rules: - proto: tcp from_port: 443 to_port: 443 cidr_ip: "{{ aws_public_access_cidr}}" rule_desc: Allow HTTPS access - proto: tcp from_port: 0 to_port: 65535 cidr_ip: "{{ aws_public_access_cidr}}" rule_desc: Allow everything TCP - proto: udp from_port: 0 to_port: 65535 cidr_ip: "{{ aws_public_access_cidr}}" rule_desc: Allow everything UDP - proto: icmp from_port: -1 to_port: -1 cidr_ip: "{{ aws_public_access_cidr}}" tags: Name: ISE VPC SG Group register: public_sg - name: ISE ec2 key pair amazon.aws.ec2_key: name: "{{ aws_keypair_name }}" register: keypair - name: Show keypair ansible.builtin.debug: var: keypair - name: Copy keypair to local file copy: dest: "./{{ aws_keypair_name }}.id_rsa" content: "{{ keypair.key.private_key }}" when: keypair.key.private_key is defined - include_tasks: single_node.yml when: ise_deployment_type == "single" - include_tasks: small_deployment.yml when: ise_deployment_type == "small" - include_tasks: medium_deployment.yml when: ise_deployment_type == "medium" - include_tasks: large_deployment.yml when: ise_deployment_type == "large"