ansible-collections/sbc/roles/dietpi_install/tasks/prepare_directory.yml

14 lines
383 B
YAML

- name: Create temporary build directory
ansible.builtin.tempfile:
state: directory
suffix: -emgauwa-system
register: build_dir
- name: Print tmp path to user
ansible.builtin.debug:
var: build_dir.path
- name: Create mount dir in build directory
ansible.builtin.file:
path: "{{ (build_dir.path, 'mount') | path_join }}"
state: directory
mode: '0755'