Elminate usage of "BOOL == true".
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
- name: Main | Start | Notify | Add Message
|
||||
shell : echo "'Ansible' 'Provisioning started @ `date`'" >> "{{ notify_log_file }}"
|
||||
|
||||
when: workstation == true
|
||||
when: workstation
|
||||
|
||||
####### NixOS #######
|
||||
# Install the .nix files and do a little data setup.
|
||||
@@ -70,7 +70,7 @@
|
||||
# time to start looking into home-manager but still not wanting to
|
||||
# maintain two different GNOME setups. HMMMM!
|
||||
- include_tasks: tasks/workstation/shared/settings/gnome.yml
|
||||
when: workstation == true
|
||||
when: workstation
|
||||
|
||||
# Try including these. Really need to get NixOS working with the rest!
|
||||
#- include_tasks: tasks/general/software/telegraf.yml # "Could not find a module for unknown.""
|
||||
@@ -120,7 +120,7 @@
|
||||
|
||||
- include_tasks: tasks/general/software/metasploit.yml
|
||||
|
||||
when: provision == true
|
||||
when: provision
|
||||
|
||||
|
||||
####### Workstations #######
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
## Desktop Environments ##
|
||||
- include_tasks: tasks/workstation/freebsd/software/gpu.yml
|
||||
when: ansible_system == "FreeBSD" and bsd_gpu == true
|
||||
when: ansible_system == "FreeBSD" and bsd_gpu
|
||||
|
||||
# Window Managers without true Desktop Environments #
|
||||
- include_tasks: tasks/workstation/shared/software/dwm.yml
|
||||
@@ -149,7 +149,7 @@
|
||||
- include_tasks: tasks/workstation/linux/software/cinnamon.yml
|
||||
- include_tasks: tasks/workstation/linux/software/lxqt.yml
|
||||
when: ansible_system == "Linux"
|
||||
# TBD: Implement this: and extra_desktops == true
|
||||
# TBD: Implement this: and extra_desktops
|
||||
|
||||
## Software Tasks ##
|
||||
- block:
|
||||
@@ -183,10 +183,10 @@
|
||||
- include_tasks: tasks/workstation/shared/settings/nfs.yml
|
||||
|
||||
- include_tasks: tasks/workstation/shared/settings/rdp.yml
|
||||
when: rdp == true
|
||||
when: rdp
|
||||
|
||||
- include_tasks: tasks/workstation/shared/settings/vnc.yml
|
||||
when: vnc == true
|
||||
when: vnc
|
||||
|
||||
- include_tasks: tasks/workstation/shared/settings/services.yml
|
||||
- include_tasks: tasks/workstation/shared/settings/templates.yml
|
||||
@@ -200,7 +200,7 @@
|
||||
- include_tasks: tasks/workstation/linux/software/android.yml
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
when: workstation == true
|
||||
when: workstation
|
||||
|
||||
|
||||
# No longer mining, this is now considered deprecated.
|
||||
@@ -228,20 +228,20 @@
|
||||
# ### GPU Section ###
|
||||
# ## Drivers ##
|
||||
# - include_tasks: tasks/miner/drivers/amdgpu.yml
|
||||
# when: ansible_distribution == "Ubuntu" and amdgpu == true
|
||||
# when: ansible_distribution == "Ubuntu" and amdgpu
|
||||
#
|
||||
# # Ethereum #
|
||||
# - include_tasks: tasks/miner/software/ethminer.yml
|
||||
# when: ethminer == true
|
||||
# when: ethminer
|
||||
#
|
||||
# - include_tasks: tasks/miner/software/nanominer.yml
|
||||
# when: nanominer == true
|
||||
# when: nanominer
|
||||
#
|
||||
# ##### Scheduling #####
|
||||
# - include_tasks: tasks/miner/cron/ansible.yml
|
||||
# - include_tasks: tasks/miner/cron/mfn.yml
|
||||
#
|
||||
# when: miner == true
|
||||
# when: miner
|
||||
|
||||
|
||||
####### Servers #######
|
||||
@@ -254,23 +254,23 @@
|
||||
- block:
|
||||
- include_tasks: tasks/server/software/certbot.yml
|
||||
- include_tasks: tasks/server/cron/certbot.yml
|
||||
when: certbot == true
|
||||
when: certbot
|
||||
|
||||
- block:
|
||||
- include_tasks: tasks/server/software/onlyoffice.yml
|
||||
when: onlyoffice == true
|
||||
when: onlyoffice
|
||||
- include_tasks: tasks/server/software/influxdb1.yml
|
||||
when: influxdb1 == true
|
||||
when: influxdb1
|
||||
- include_tasks: tasks/server/software/influxdb2.yml
|
||||
when: influxdb2 == true
|
||||
when: influxdb2
|
||||
- include_tasks: tasks/server/software/grafana.yml
|
||||
when: grafana == true
|
||||
when: grafana
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
- include_tasks: tasks/server/software/hugo.yml
|
||||
when: hugo == true
|
||||
when: hugo
|
||||
|
||||
when: server == true
|
||||
when: server
|
||||
|
||||
|
||||
####### Reporting #######
|
||||
|
||||
Reference in New Issue
Block a user