mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
23 lines
712 B
YAML
23 lines
712 B
YAML
- name: Select desktop at pre.yml
|
|
include: "pre.yml"
|
|
|
|
- name: Install Desktop on {{ansible_os_family}}
|
|
include: "{{ansible_os_family}}.yml"
|
|
|
|
- name: Disable firewalld(some cloud has no firewalld)
|
|
shell: |
|
|
systemctl stop firewalld
|
|
systemctl disable firewalld
|
|
ignore_errors: true
|
|
|
|
- name: Install Desktop and VNC
|
|
include: desktop.yml
|
|
when: os_desktop is defined and os_desktop is not none and os_desktop !="" and (os_image =="" or os_image is undefined)
|
|
|
|
- name: Make a private image with some cloud platform
|
|
include: image.yml
|
|
when: os_cloudplatform is defined and os_cloudplatform is not none and os_cloudplatform !=""
|
|
|
|
- name: Check chrony status
|
|
shell: systemctl restart chronyd
|