44 lines
1.1 KiB
YAML
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
|
|
ansible.builtin.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 }}"
|
|
enabled: "{{ enable_display_mamager }}"
|
|
become: yes
|
|
when: workstation_Display_manger
|