New in version 2.8.
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
description string | Description of the IKE peer. | ||
name string / required | Specifies the name of the IKE peer. | ||
partition string | Default: "Common" | Device partition to manage resources on. | |
phase1_auth_method string |
| Specifies the authentication method for phase 1 negotiation. When creating a new IKE peer, if this value is not specified, the default is rsa-signature . | |
phase1_cert string | Specifies the digital certificate to use for the RSA signature. When creating a new IKE peer, if this value is not specified, and phase1_auth_method is rsa-signature , the default is default.crt .This parameter is invalid when phase1_auth_method is pre-shared-key . | ||
phase1_encryption_algorithm string |
| Specifies the algorithm to use for IKE encryption. IKE version v2 does not support blowfish , camellia , or cast128 . | |
phase1_hash_algorithm string |
| Specifies the algorithm to use for IKE authentication. | |
phase1_key string | Specifies the public key that the digital certificate contains. When creating a new IKE peer, if this value is not specified, and phase1_auth_method is rsa-signature , the default is default.key .This parameter is invalid when phase1_auth_method is pre-shared-key . | ||
phase1_perfect_forward_secrecy string |
| Specifies the Diffie-Hellman group to use for IKE Phase 1 and Phase 2 negotiations. | |
phase1_verify_peer_cert boolean |
| In IKEv2, specifies whether the certificate sent by the IKE peer is verified using the Trusted Certificate Authorities, a CRL, and/or a peer certificate. In IKEv1, specifies whether the identifier sent by the peer is verified with the credentials in the certificate, in the following manner - ASN1DN; specifies that the entire certificate subject name is compared with the identifier. Address, FQDN, or User FQDN; specifies that the certificate's subjectAltName is compared with the identifier. If the two do not match, the negotiation fails. When creating a new IKE peer, if this value is not specified, and phase1_auth_method is rsa-signature , the default is no .This parameter is invalid when phase1_auth_method is pre-shared-key . | |
presented_id_type string |
| Specifies the identifier type that the local system uses to identify itself to the peer during IKE Phase 1 negotiations. | |
presented_id_value string | This is a required value when version includes (Cv2).Specifies a value for the identity when using a presented_id_type of override . | ||
preshared_key string | Specifies a string that the IKE peers share for authenticating each other. This parameter is only relevant when phase1_auth_method is pre-shared-key .This parameter is invalid when phase1_auth_method is rsa-signature . | ||
provider dictionary added in 2.5 | A dict object containing connection details. | ||
auth_provider string | Configures the auth provider for to obtain authentication tokens from the remote device. This option is really used when working with BIG-IQ devices. | ||
password string / required | The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable F5_PASSWORD .aliases: pass, pwd | ||
server string / required | The BIG-IP host. You may omit this option by setting the environment variable F5_SERVER . | ||
server_port integer | Default: 443 | The BIG-IP server port. You may omit this option by setting the environment variable F5_SERVER_PORT . | |
ssh_keyfile path | Specifies the SSH keyfile to use to authenticate the connection to the remote device. This argument is only used for cli transports. You may omit this option by setting the environment variable ANSIBLE_NET_SSH_KEYFILE . | ||
timeout integer | Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. | ||
transport string |
| Configures the transport connection to use when connecting to the remote device. | |
user string / required | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable F5_USER . | ||
validate_certs boolean |
| If no , SSL certificates are not validated. Use this only on personally controlled sites using self-signed certificates.You may omit this option by setting the environment variable F5_VALIDATE_CERTS . | |
remote_address string | Displays the IP address of the BIG-IP system that is remote to the system you are configuring. | ||
state string |
| When present , ensures that the resource exists.When absent , ensures the resource is removed. | |
update_password string |
| always will allow to update passwords if the user chooses to do so. on_create will only set the password for newly created IKE peers. | |
verified_id_type string |
| Specifies the identifier type that the local system uses to identify the peer during IKE Phase 1 negotiation. This is a required value when version includes (Cv2).When user-fqdn , value of verified_id_value must be in the form of User @ DNS domain string. | |
verified_id_value string | This is a required value when version includes (Cv2).Specifies a value for the identity when using a verified_id_type of override . | ||
version list |
| Specifies which version of IKE is used. If the system you are configuring is the IPsec initiator, and you select both versions, the system tries using IKEv2 for negotiation. If the remote peer does not support IKEv2, the IPsec tunnel fails. To use IKEv1 in this case, you must deselect Version 2 and try again. If the system you are configuring is the IPsec responder, and you select both versions, the IPsec initiator system determines which IKE version to use. When creating a new IKE peer, this value is required. |
Note
- name: Create new IKE peer bigip_ike_peer: name: ike1 remote_address: 1.2.3.4 version: - v1 provider: password: secret server: lb.mydomain.com user: admin delegate_to: localhost - name: Change presented id type - keyid-tag bigip_ike_peer: name: ike1 presented_id_type: keyid-tag presented_id_value: key1 provider: password: secret server: lb.mydomain.com user: admin delegate_to: localhost - name: Remove IKE peer bigip_ike_peer: name: ike1 state: absent provider: password: secret server: lb.mydomain.com user: admin delegate_to: localhost
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
phase1_auth_method string | changed | The new IKE Phase 1 Credentials Authentication Method value of the resource. Sample: rsa-signature |
phase1_cert string | changed | The new IKE Phase 1 Certificate Credentials. Sample: /Common/cert1.crt |
phase1_encryption_algorithm string | changed | The new IKE Phase 1 Encryption Algorithm. Sample: 3des |
phase1_hash_algorithm string | changed | The new IKE Phase 1 Authentication Algorithm. Sample: sha256 |
phase1_key string | changed | The new IKE Phase 1 Key Credentials. Sample: /Common/cert1.key |
phase1_perfect_forward_secrecy string | changed | The new IKE Phase 1 Perfect Forward Secrecy. Sample: modp1024 |
phase1_verify_peer_cert boolean | changed | The new IKE Phase 1 Key Verify Peer Certificate setting. Sample: True |
presented_id_type string | changed | The new Presented ID Type value of the resource. Sample: address |
presented_id_value string | changed | The new Presented ID Value setting for the Presented ID Type. Sample: 1.2.3.1 |
remote_address string | changed | The new Remote Address value of the resource. Sample: 1.2.2.1 |
verified_id_type string | changed | The new Verified ID Type value of the resource. Sample: address |
verified_id_value string | changed | The new Verified ID Value setting for the Verified ID Type. Sample: 1.2.3.1 |
version list | changed | The new list of IKE versions. Sample: ['v1', 'v2'] |
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/bigip_ike_peer_module.html