1.2 KiB
1.2 KiB
Install tarball
clean known_host doesnt work
install from tarball example:
- 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 ...
knotc zone-begin molecule.local knotc zone-set molecule.local @ 7200 SOA dns hostmaster 1 86400 900 691200 3600 knotc zone-set molecule.local dns 3600 A 172.17.0.2 knotc zone-set molecule.local router 3600 A 172.17.0.2 knotc zone-set molecule.local www 3600 A 172.17.0.5 knotc zone-set molecule.local ldap 3600 CNAME router knotc zone-set molecule.local _https._tcp 3600 SRV "10 20 433 www" knotc zone-commit molecule.local
scip@e3: knotc -s /jail/run/dns/tmp/knot/knot.sock status
Cleanup release snapshot
- remove pkg function from root .bashrc