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