generated from nicolabelluti/template-ansible
Initial commit
This commit is contained in:
12
roles/test_role/tasks/main.yml
Normal file
12
roles/test_role/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: Ping
|
||||
ansible.builtin.ping:
|
||||
|
||||
- name: Print an "Hello, World!"
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ test_role__hello_world_string }}"
|
||||
|
||||
- name: Test the `ansible_managed` variable
|
||||
ansible.builtin.template:
|
||||
dest: /tmp/ansible.txt
|
||||
src: ansible.txt.j2
|
||||
mode: preserve
|
Reference in New Issue
Block a user