Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 842 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 842 Bytes

ansible-takahe

[TBC]

Tested with Ubuntu 22.04.

Cheatsheet

Setup:

$ pip install ansible
$ ansible-galaxy install -r requirements.yml

Prepare:

  • Provision machine (no automated provisioning is provided)
  • Open ports 80 and 443 (no automatic firewall configuration is provided)
  • Point A DNS record to machine IP (no automatic DNS configuration is provided)
  • Make sure outgoing SMTP traffic is not blocked (no automatic check is provided)

Test:

$ cp hosts.template inventory/production  # And edit accordingly
$ ansible all -i inventory/production --list-hosts
$ ansible all -i inventory/production -u root -m ping

Execute:

$ ansible-playbook -i inventory/production -u root configure.yml
$ ansible-playbook -i inventory/production -u root site.yml

Verify:

  • Point browser to https://{takahe_domain}