Skip to content

Commit

Permalink
Removed unnecessary var
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmertr committed Jun 27, 2020
1 parent 38b65cf commit 48824b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Ansible/create_user_account.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
- hosts: localhost
gather_facts: False
vars:
SSH_KEY: "{{ lookup('env', 'TKS_BP_V_PROXMOX_SSH_KEY') | default('~/.ssh/TKS') }}"
tasks:
- name: Generating an SSH keypair
openssh_keypair:
path: "{{ SSH_KEY }}"
path: "{{ lookup('env', 'TKS_BP_V_PROXMOX_SSH_KEY') | default('~/.ssh/TKS') }}"
type: ed25519
when:
- lookup('env', 'TKS_BP_R_CREATE_USER_ACCOUNT') == 'true'


- hosts: proxmox
Expand Down

0 comments on commit 48824b8

Please sign in to comment.