Debian Codegraph @

ansible_collections/community/proxmox/tests/integration/targets/setup_proxmox_auth/tasks/main.yml

raw
1 # Copyright (c) Ansible Project
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4 ---
5 - name: Set Proxmox authentification global environment variables
6 ansible.builtin.set_fact:
7 environment_auth_vars:
8 PROXMOX_HOST: "{{ api_host }}"
9 PROXMOX_USER: "{{ api_user | default(omit)}}"
10 PROXMOX_PASSWORD: "{{ api_password | default(omit) }}"
11 PROXMOX_VALIDATE_CERTS: "{{ validate_certs | default(omit) }}"
12 PROXMOX_TOKEN_ID: "{{ api_token_id | default(omit) }}"
13 PROXMOX_TOKEN_SECRET: "{{ api_token_secret | default(omit) }}"