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

18 lines
359 B
YAML
Raw Normal View History

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