--- - name: Run the test playbook #gather_facts: false hosts: all become: yes tasks: - name: Get the username running this playbook command: uptime register: uptime_on_the_host - name: Display the User name ansible.builtin.debug: msg: "Hello User {{ uptime_on_the_host.stdout }} from Jenkins and Ansible!!" - name: Set timezone to Europe/Paris community.general.timezone: name: Europe/Paris