local, fix indentation, add a few names, pass notify a variable.
This commit is contained in:
@@ -38,11 +38,9 @@
|
|||||||
- name: Main | Start
|
- name: Main | Start
|
||||||
block:
|
block:
|
||||||
|
|
||||||
- name: Main | Start | Notify | Touch File
|
- include_tasks: tasks/general/acct_mgmt/notify.yml
|
||||||
include_tasks: tasks/general/acct_mgmt/notify.yml
|
vars:
|
||||||
|
notify_message: "Started"
|
||||||
- name: Main | Start | Notify | Add Message
|
|
||||||
shell : echo "'Ansible' 'Provisioning started @ `date`'" >> "{{ notify_log_file }}"
|
|
||||||
|
|
||||||
when: workstation
|
when: workstation
|
||||||
|
|
||||||
@@ -98,7 +96,7 @@
|
|||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
- include_tasks: tasks/general/software/aur.yml
|
- include_tasks: tasks/general/software/aur.yml
|
||||||
when: ansible_pkg_mgr == "pacman"
|
when: internet and ansible_pkg_mgr == "pacman"
|
||||||
|
|
||||||
# Gather again in case missing programs have now been installed.
|
# Gather again in case missing programs have now been installed.
|
||||||
- include_tasks: facts/general/gather.yml
|
- include_tasks: facts/general/gather.yml
|
||||||
@@ -154,7 +152,9 @@
|
|||||||
# TBD: Implement this: and extra_desktops
|
# TBD: Implement this: and extra_desktops
|
||||||
|
|
||||||
## Software Tasks ##
|
## Software Tasks ##
|
||||||
- block:
|
|
||||||
|
- name: Main | Workstation Setup | Linux
|
||||||
|
block:
|
||||||
- include_tasks: tasks/workstation/linux/software/packages.yml
|
- include_tasks: tasks/workstation/linux/software/packages.yml
|
||||||
- include_tasks: tasks/workstation/linux/software/tlp.yml
|
- include_tasks: tasks/workstation/linux/software/tlp.yml
|
||||||
- include_tasks: tasks/workstation/linux/software/lutris.yml
|
- include_tasks: tasks/workstation/linux/software/lutris.yml
|
||||||
@@ -173,7 +173,8 @@
|
|||||||
when: ansible_system == "Darwin"
|
when: ansible_system == "Darwin"
|
||||||
|
|
||||||
## Configuration Tasks ##
|
## Configuration Tasks ##
|
||||||
- block:
|
- name: Main | Workstation Setup | Configuration
|
||||||
|
block:
|
||||||
- include_tasks: tasks/workstation/shared/settings/gnome.yml
|
- include_tasks: tasks/workstation/shared/settings/gnome.yml
|
||||||
- include_tasks: tasks/workstation/shared/settings/cinnamon.yml
|
- include_tasks: tasks/workstation/shared/settings/cinnamon.yml
|
||||||
- include_tasks: tasks/workstation/shared/settings/xdg_autostart.yml
|
- include_tasks: tasks/workstation/shared/settings/xdg_autostart.yml
|
||||||
@@ -194,7 +195,8 @@
|
|||||||
- include_tasks: tasks/workstation/shared/settings/templates.yml
|
- include_tasks: tasks/workstation/shared/settings/templates.yml
|
||||||
|
|
||||||
## Final Tasks (SLOW) ##
|
## Final Tasks (SLOW) ##
|
||||||
- block:
|
- name: Main | Workstation Setup | Linux [Slow]
|
||||||
|
block:
|
||||||
- include_tasks: tasks/workstation/linux/software/flatpaks.yml
|
- include_tasks: tasks/workstation/linux/software/flatpaks.yml
|
||||||
when: flatpak_distro
|
when: flatpak_distro
|
||||||
- include_tasks: tasks/workstation/linux/software/java.yml
|
- include_tasks: tasks/workstation/linux/software/java.yml
|
||||||
@@ -292,5 +294,7 @@
|
|||||||
block:
|
block:
|
||||||
|
|
||||||
- include_tasks: tasks/general/acct_mgmt/notify.yml
|
- include_tasks: tasks/general/acct_mgmt/notify.yml
|
||||||
|
vars:
|
||||||
|
notify_message: "Finished"
|
||||||
|
|
||||||
- include_tasks: tasks/general/tests/lock_remove.yml
|
- include_tasks: tasks/general/tests/lock_remove.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user