homeserver/roles/mgrote.apt_install_packages/tasks/main.yml
mg c99a634f5c apt update ausgebaut (#57)
update entfernt

doku

syntax

meta bei cv4 entfernt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#57
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-04-01 21:51:25 +02:00

27 lines
691 B
YAML

---
- name: install common-packages
become: yes
ansible.builtin.package:
name: "{{ programs_common }}"
state: present
- name: install extra-packages
become: yes
ansible.builtin.package:
name: "{{ programs_extra }}"
state: present
when: programs_extra is defined
- name: install vm-packages
become: yes
ansible.builtin.package:
name: "{{ programs_only_vms }}"
state: present
when: ansible_virtualization_role == 'guest'
- name: install physical-packages
become: yes
ansible.builtin.package:
name: "{{ programs_only_physical }}"
state: present
when: ansible_virtualization_role != 'guest'