mac-dev-playbook/tasks/ansible-setup.yml

17 lines
362 B
YAML

---
- name: Ensure Ansible downloads directory exists.
file:
path: "{{ downloads }}"
state: directory
- name: Ensure /etc/ansible directory exists.
file:
path: /etc/ansible
state: directory
become: true
- name: Symlink /usr/local/etc/ansible to /etc/ansible.
file:
src: /etc/ansible
path: /usr/local/etc/ansible
state: link