Skip to content

Commit

Permalink
test: Debug loading variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Sep 7, 2024
1 parent 669253f commit 4e5d168
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions ansible/setup-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,23 @@
state: touch
tags:
- always
- name: "[Software] Include software role"
ansible.builtin.import_role:
name: software
- name: "[Config] Include config role"
ansible.builtin.import_role:
name: config
- name: "[Summary] Show detailed info"
- name: "debug ansible_facts"
ansible.builtin.debug:
var: summary
tags:
- always
var: ansible_facts
- name: "debug playbook_dir"
ansible.builtin.debug:
var: playbook_dir
- name: "debug facter os major"
ansible.builtin.debug:
var: ansible_facts.facter_os.release.major
# - name: "[Software] Include software role"
# ansible.builtin.import_role:
# name: software
# - name: "[Config] Include config role"
# ansible.builtin.import_role:
# name: config
# - name: "[Summary] Show detailed info"
# ansible.builtin.debug:
# var: summary
# tags:
# - always

0 comments on commit 4e5d168

Please sign in to comment.