This commit is contained in:
2024-10-08 06:41:47 +02:00
parent 1ef33c16af
commit 7300938372
103 changed files with 619 additions and 198 deletions

View File

@@ -0,0 +1,17 @@
- name: Show info
debug:
msg:
user: "{{ ansible_user }}"
home: "{{ ansible_env.HOME }}"
distribution: "{{ ansible_distribution }}"
family: "{{ ansible_os_family}}"
arch: "{{ ansible_architecture }}"
- name: Setting host facts
tags: always
ansible.builtin.set_fact:
username: alice
home: "{{ ansible_env.HOME }}"
use_become: true
mac_os: "{{ ansible_distribution == 'MacOSX' }}"
contexts: "{{ ['default'] + (contexts | default([])) }}"