25 lines
658 B
Markdown
25 lines
658 B
Markdown
## Install tarball
|
|
|
|
### clean known_host doesnt work
|
|
|
|
### install from tarball example:
|
|
|
|
```yaml
|
|
- name: "If jdk not exists then only download and unarchive"
|
|
unarchive:
|
|
src: "https://download.oracle.com/java/17/latest/jdk-17_linux-aarch64_bin.tar.gz"
|
|
dest: /opt/
|
|
remote_src: yes
|
|
creates: /opt/jdk-17
|
|
register: foo
|
|
- name: "Rename if download happens "
|
|
command: mv /opt/jdk-17_linux-arch64 /opt/jdk-17
|
|
when: foo.changed == True
|
|
```
|
|
|
|
### configure DNS record for newly created instance
|
|
|
|
https://github.com/bodsch/ansible-collection-dns/blob/main/roles/knot/README.md
|
|
|
|
or using e3 using wrapper script around `jaildk exec dns knotc ...`
|