Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Setup netatalk automatically with ansible
branch: master

Merge pull request #7 from goetzk/add-meta-to-repo

Adding meta information for role
latest commit 9c86329a10
@GR360RY authored

Automated Installation of Netatalk 3.0.X

Full instructions are available here: Blog Post

This ansible playbook will compile latest Netatalk 3.0.X from source and configure afp shares and Time Machine on your system.

System Requirements for Target System

  • Ubuntu 12.04 and 12.10
  • Ansible installed on target system or on any other OS that has ssh access to targed system.

Step 2: Modify your user and shares list

  • Clone ansible
  • Edit netatalk.yml and change "user: vagrant" to your actual user with sudo privileges
  • Edit vars/user_defined.yml and update share names and paths at the top of the yml file
  • Modify ansible_hosts with the IP of your host ( actual IP or loopback )

Step 3: Run ansible

cd netatalk-ansible
ansible-playbook -k -i ./ansible_hosts netatalk.yml

Testing Setup with Vagrant

Vagrantfile includes the number of Linux Distros. To test specific distribution check the contents of Vagrantfile and choose one of the distros:

To test specific distribution, say Ubuntu 12.04, run the next command:

vagrant up ubuntu1204

If there is an issue with bringing up one of the VMs and you receive the next error:

fatal: [os_name] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue

Update your ~/.ssh/config file by adding the next block for localhost:

Host localhost
  StrictHostKeyChecking no
  UserKnownHostsFile /dev/null
Something went wrong with that request. Please try again.