Set workdit as var

This commit is contained in:
Nikolai Rodionov 2023-03-11 18:59:25 +01:00
parent 44bce4b274
commit cbe707f618
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
galaxy_info:
author: Allen Languor
author: allanger
description: Create k8s user
license: license (GPL-2.0-or-later, MIT, etc)
min_ansible_version: 2.1

View File

@ -11,7 +11,7 @@
block:
- name: Set workdir as fact
set_fact:
working_dir: "{{ working_dir | ansible_env.HOME }}/.certs/{{ username }}"
working_dir: "{{ working_dir }}/.certs/{{ username }}"
- name: Create a directory if it does not exist
ansible.builtin.file: