2024-11-08 20:08:56 +01:00
|
|
|
## Install tarball
|
|
|
|
|
|
2024-11-16 11:16:54 +01:00
|
|
|
### clean known_host doesnt work
|
|
|
|
|
|
2024-11-11 19:28:55 +01:00
|
|
|
### install from tarball example:
|
|
|
|
|
|
2024-11-08 20:08:56 +01:00
|
|
|
```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
|
|
|
|
|
```
|
2024-11-11 19:28:55 +01:00
|
|
|
|
|
|
|
|
### 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 ...`
|
2024-11-18 18:33:33 +01:00
|
|
|
|
|
|
|
|
### Cleanup release snapshot
|
|
|
|
|
|
|
|
|
|
- remove /home symlink
|
|
|
|
|
- remove pkg function from root .bashrc
|
|
|
|
|
|
2024-11-20 23:56:43 +01:00
|
|
|
## fix home mount
|
|
|
|
|
|
|
|
|
|
nullfs into jail
|
2024-11-18 18:33:33 +01:00
|
|
|
|
|
|
|
|
## Add users with authorized_keys files
|
|
|
|
|
|
|
|
|
|
## Add quota config and enable/configure rctl
|
2024-11-20 18:15:48 +01:00
|
|
|
|
|
|
|
|
## Fix jail DNS, doesn't work yet (pf missing?)
|