workstation/tasks/main.yml
2020-11-04 18:26:05 +01:00

44 lines
1.1 KiB
YAML

- name: install workstation wm soft
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
name: "{{ workstation_wm_soft }}" # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
register: wm
- name: install workstation base soft
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
name: "{{ workstation_base_soft }}" # not required. Name or list of names of the packages to install, upgrade, or remove.
become: yes
register: base
- name: install aur workstation soft
aur:
name: "{{ workstation_aur_soft }}"
state: present
become: yes
become_user: aur_builder
#chech graphic card
- name: debug
debug:
msg: "{{ wm }} {{base}}"
- name: install display manager
pacman:
state: present
name: "{{ workstation_Display_manger }}"
when: workstation_Display_manger
- name: enable display manager
systemd:
name: "{{ workstation_Display_manger }}"
enables: true
become: yes
when: workstation_Display_manger