Actualiser playbook.yml
This commit is contained in:
@@ -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 }}"
|
||||||
Reference in New Issue
Block a user