aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/debug.yml12
l---------playbooks/templates1
-rw-r--r--roles/common/tasks/main.yml4
3 files changed, 14 insertions, 3 deletions
diff --git a/playbooks/debug.yml b/playbooks/debug.yml
new file mode 100644
index 0000000..432e317
--- /dev/null
+++ b/playbooks/debug.yml
@@ -0,0 +1,12 @@
+---
+
+- name: Debug
+ hosts: all
+ tasks:
+ - name: A
+ debug:
+ var: ansible_facts["distribution"] | lower
+
+ - name: G
+ debug:
+ var: groups["all"]
diff --git a/playbooks/templates b/playbooks/templates
new file mode 120000
index 0000000..564a409
--- /dev/null
+++ b/playbooks/templates
@@ -0,0 +1 @@
+../templates \ No newline at end of file
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index 7dbc5dd..28bf411 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -4,8 +4,6 @@
---
- name: Check installation of package "{{ item }}"
- become: yes
-
package:
name: "{{ item }}"
state: present
@@ -48,5 +46,5 @@
- name: Change shell for all valid users to zsh
user:
name: "{{ item }}"
- shell: "{{ path_zsh_bin }}"
+ shell: "{{ path_zsh }}"
loop: "{{ valid_users_shell.stdout_lines }}"
remember that computers suck.