๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ansible-playbooks/roles/proxmox/tasks/main.yml

18 lines
486 B

- name: set proxmox_cfg
set_fact:
proxmox_cfg: "{{ proxmox_default_config | d({}) | combine(proxmox_config | d({}), recursive=true) }}"
- name: proxmox installation
include_tasks: install.yml
when: function == 'install'
- name: proxmox reverse proxy configuration
include_tasks: rproxy.yml
when: function == 'rproxy'
- name: proxmox mail configuration
include_tasks: mail.yml
when: (function == 'mail') and (mail_account is mapping) and (mail_server is mapping)