Actualiser playbook.yml

This commit is contained in:
2023-06-19 23:57:07 +02:00
parent 116cb4891b
commit 0b99b7d571

View File

@@ -2,8 +2,8 @@
- hosts: all
become: true
gather_facts: no
#vars:
# ansible_ssh_pass: quasi0947
vars:
test_var: test
tasks:
# - name: Update apt packages
# apt:
@@ -11,4 +11,4 @@
# update_cache: true
- name: Print the gateway for each host when defined
debug:
msg: "test inside {{ ansible_hostname }}"
msg: "test inside {{ test_var }}"