mg
a27830107b
munin eingegrenzt Playbooks aufgeteilt header angepasst cahe valid time entfernt cache valid time angehoben update packeges in eigenes playbook vars playbook filter angepasst playbook rolle hinzugefügt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#51 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
32 lines
807 B
YAML
32 lines
807 B
YAML
- name: apt update
|
|
become: yes
|
|
ansible.builtin.package:
|
|
update_cache: yes
|
|
cache_valid_time: 3000
|
|
|
|
- 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'
|