Skip to content

Commit

Permalink
fix: Role refactoring + missing mount
Browse files Browse the repository at this point in the history
  • Loading branch information
lholota committed Nov 8, 2023
1 parent 63cd049 commit 84b1976
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 29 deletions.
1 change: 1 addition & 0 deletions environments/prod/group_vars/gluster_nodes/mounts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ gluster_tls_certificate_validity_days: 7300

gluster_volume_mounts:
- k8s-services
- k8s-services-db
- k8s-monitoring
- k8s-nvr
8 changes: 8 additions & 0 deletions playbooks/proxmox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
name: homecentr.system.zfs_configuration
tags: [ usbhid-quirk ]

- name: Configure local storage
ansible.builtin.import_role:
name: homecentr.proxmox.pve_local_storage
tags: [ pve-storage ]
vars:
pve_storage_snippets_api_user: root@pam

Check failure on line 79 in playbooks/proxmox.yml

View workflow job for this annotation

GitHub Actions / validate

var-naming[no-role-prefix]

Variables names from within roles should use role_name_ as a prefix. (vars: pve_storage_snippets_api_password)

Check failure on line 79 in playbooks/proxmox.yml

View workflow job for this annotation

GitHub Actions / validate

var-naming[no-role-prefix]

Variables names from within roles should use role_name_ as a prefix. (vars: pve_storage_snippets_api_user)
pve_storage_snippets_api_password: "{{ users_root_password }}"

- name: Flush handlers before starting the VMs
ansible.builtin.meta: flush_handlers

Expand Down
4 changes: 0 additions & 4 deletions roles/pve_virtual_machines/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
name: python3-proxmoxer
state: present

- name: Enable snippets in local storage
ansible.builtin.include_tasks:
file: snippets.yml

- name: Download installation cloud images
ansible.builtin.include_tasks:
file: images.yml
Expand Down
25 changes: 0 additions & 25 deletions roles/pve_virtual_machines/tasks/snippets.yml

This file was deleted.

0 comments on commit 84b1976

Please sign in to comment.