Forgot to include dependency python3 role. Fixed.

The host_restrictions var should probably be deprecated in favour
of testin the play name var (see python3 role for first
implementation)
master
Taha Ahmed 5 months ago
parent 886f8d121d
commit c4b2118161

3
.gitmodules vendored

@ -25,3 +25,6 @@
[submodule "roles/i3wm"] [submodule "roles/i3wm"]
path = roles/i3wm path = roles/i3wm
url = https://codeberg.org/ansible/i3wm.git url = https://codeberg.org/ansible/i3wm.git
[submodule "roles/python3"]
path = roles/python3
url = https://codeberg.org/ansible/python3.git

@ -51,6 +51,9 @@ aptcachetime: 3600
local_user: "{{ lookup('env', 'USER') }}" local_user: "{{ lookup('env', 'USER') }}"
# note, the default host_restrictions: False inside most of my roles # we use "not (host_restrictions | bool) or <some other test>" and want host_restrictions
# must be overridden to True to work outside my own environment # to act like sort of a filter to avoid the "other test" evaluating and failing because
host_restrictions: true # the variable it is testing does not exist outside my own environment
# host_restrictions should thus be False by default so the first part above evaluates
# to True and thus Ansible will skip the rest of the evaluation and no errors
host_restrictions: false

@ -1,6 +1,8 @@
--- ---
- name: Configure your machine # do not remove the string "zhutop" from the name - I use it to identify this play
# in logic statements in the various roles used by this play
- name: Academic playbook zhutop
hosts: all hosts: all
pre_tasks: pre_tasks:
@ -125,7 +127,6 @@
# # - { role: picom, become: true, tags: [ picom ] } # # - { role: picom, become: true, tags: [ picom ] }
# # pipe-viewer contains interactive step, needs workaround # # pipe-viewer contains interactive step, needs workaround
# - { role: pipe-viewer, become: true, tags: [ pipe-viewer ] } # - { role: pipe-viewer, become: true, tags: [ pipe-viewer ] }
# - { role: python3, become: true, tags: [ python3 ] }
# - { role: qownnotes, become: true, tags: [ qownnotes ] } # - { role: qownnotes, become: true, tags: [ qownnotes ] }
# - { role: R, become: true, tags: [ R ] } # - { role: R, become: true, tags: [ R ] }
# - { role: radian, become: true, tags: [ radian ] } # - { role: radian, become: true, tags: [ radian ] }

@ -0,0 +1 @@
Subproject commit 5f70626ebbdfc06033d37bef5b82ea8babbdf301
Loading…
Cancel
Save