Set workdit as var
This commit is contained in:
parent
44bce4b274
commit
cbe707f618
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user