diff --git a/ansible/setup-ubuntu.yml b/ansible/setup-ubuntu.yml index d266a49..e8b1428 100644 --- a/ansible/setup-ubuntu.yml +++ b/ansible/setup-ubuntu.yml @@ -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