1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Ansible file module "path" is equiv to "dest"

This commit is contained in:
A Holt 2019-05-04 00:57:44 -04:00 committed by GitHub
parent 63ab350994
commit 98f682a0e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
- name: Remove stock netplan template
file:
state: absent
dest: /etc/netplan/{{ item }}
path: /etc/netplan/{{ item }}
with_items:
- "{{ netplan.stdout_lines }}"
when: netplan.stdout.find("yaml") != -1