Ansible_workstation/tasks/ansible.yml

12 lines
206 B
YAML

---
- name: Create ansible conf directory
file:
path: /etc/ansible
state: directory
- name: Copy ansible.cfg
copy:
src: files/ansible.cfg
dest: /etc/ansible/ansible.cfg
backup: yes