workstation/tasks/main.yml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

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
- name: debug
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 }}"
2020-11-28 15:43:12 +00:00
enabled: true
2020-11-04 17:26:05 +00:00
become: yes
when: workstation_Display_manger