diff --git a/roles/server_iso/README.md b/roles/server_iso/README.md index 6eb9773..41d6b73 100644 --- a/roles/server_iso/README.md +++ b/roles/server_iso/README.md @@ -10,9 +10,9 @@ Create an Oracle Linux 9 ISO for automatic server installation. |src_iso_checksum |str | no | sha256:a782e8c78a629ab1c19fcb32e76d3b81c7ef1b04060a0465253c103686339f3a | Checksum of downloaded source installation medium | |src_iso_label |str | no | OL-9-0-0-BaseOS-x86_64 | Volume ID of installation medium. Could be displayed by `xorriso -indev {{ role_path }}/files/OracleLinux-R9-U0-x86_64-boot-uek.iso -toc` | |reboot_after_installation |bool | no | False | Automatic reboot after installation. | -|gateway |str | no | {{ (((ansible_host + '/255.255.255.0') \| ansible.utils.ipaddr('network') \| ansible.utils.ipaddr('int'))+1) \| string \| ansible.utils.ipaddr}} | IPv4 default gateway address. This will only be used when ansible_host is a IP address. | -|nameserver |str | no | {{ (((ansible_host + '/255.255.255.0') \| ansible.utils.ipaddr('network') \| ansible.utils.ipaddr('int'))+1) \| string \| ansible.utils.ipaddr}} | IPv4 nameserver address. This will only be used when ansible_host is a IP address. | -|netmask |str | no | 255.255.255.0 | IPv4 subnet mask. This will only be used when ansible_host is a IP address. | +|gateway |str | no | | IPv4 default gateway address. This will only be used when ansible_host is a IP address. | +|nameserver |str | no | | IPv4 nameserver address. This will only be used when ansible_host is a IP address. | +|netmask |str | no | | IPv4 subnet mask. This will only be used when ansible_host is a IP address. | |ssh_keys |list[str] | no | | List of ssh public keys that will be added to .ssh/authorized_keys | |iso_path |str | yes | | Storage location for the created ISO | diff --git a/roles/server_iso/meta/argument_specs.yml b/roles/server_iso/meta/argument_specs.yml index 6e65d72..724e024 100644 --- a/roles/server_iso/meta/argument_specs.yml +++ b/roles/server_iso/meta/argument_specs.yml @@ -35,17 +35,14 @@ argument_specs: type: "bool" gateway: - default: "{{ (((ansible_host + '/255.255.255.0') | ansible.utils.ipaddr('network') | ansible.utils.ipaddr('int'))+1) | string | ansible.utils.ipaddr}}" description: "IPv4 default gateway address. This will only be used when ansible_host is a IP address." type: "str" nameserver: - default: "{{ (((ansible_host + '/255.255.255.0') | ansible.utils.ipaddr('network') | ansible.utils.ipaddr('int'))+1) | string | ansible.utils.ipaddr}}" description: "IPv4 nameserver address. This will only be used when ansible_host is a IP address." type: "str" netmask: - default: "255.255.255.0" description: "IPv4 subnet mask. This will only be used when ansible_host is a IP address." type: "str"