Ansible_workstation/tasks/ansible.yml

13 lines
211 B
YAML

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