2019-04-10 18:26:02 +00:00
|
|
|
|
|
|
|
- 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 }}"
|
2020-06-04 20:21:05 +00:00
|
|
|
state: present
|
2020-11-04 17:26:05 +00:00
|
|
|
become: yes
|
|
|
|
become_user: aur_builder
|
2019-04-10 18:26:02 +00:00
|
|
|
|
|
|
|
#chech graphic card
|
2024-10-27 16:08:44 +00:00
|
|
|
- name: Debug
|
|
|
|
ansible.builtin.debug:
|
2020-05-18 08:34:14 +00:00
|
|
|
msg: "{{ wm }} {{base}}"
|
|
|
|
|
2020-11-04 17:26:05 +00:00
|
|
|
- name: install display manager
|
|
|
|
pacman:
|
|
|
|
state: present
|
|
|
|
name: "{{ workstation_Display_manger }}"
|
|
|
|
when: workstation_Display_manger
|
|
|
|
|
|
|
|
- name: enable display manager
|
|
|
|
systemd:
|
|
|
|
name: "{{ workstation_Display_manger }}"
|
2024-10-27 16:08:44 +00:00
|
|
|
enabled: "{{ enable_display_mamager }}"
|
2020-11-04 17:26:05 +00:00
|
|
|
become: yes
|
2024-10-27 16:08:44 +00:00
|
|
|
when: workstation_Display_manger
|