#cloud-config # First boot of cogitator-04 (passed by oci.yml). Replaces bootstrap.yml for # this host: creates phil, joins the tailnet. The instance has no inbound # rules at all; Ansible reaches it over Tailscale afterwards. hostname: {{ oci_instance_name }} users: - default - name: phil groups: [sudo] shell: /bin/bash sudo: "ALL=(ALL) NOPASSWD:ALL" lock_passwd: true ssh_authorized_keys: - {{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_ed25519.pub') }} package_update: true runcmd: - curl -fsSL https://tailscale.com/install.sh | sh - tailscale up --authkey={{ vault_infrastructure.tailscale_key }} --hostname={{ oci_instance_name }}