Added Nix Flake
This commit is contained in:
@@ -4,7 +4,7 @@ A brief description about the role...
|
||||
|
||||
## Variables
|
||||
|
||||
| Name | Is Required? | Default |
|
||||
|:--------------------:|:------------:|:-------------:|
|
||||
| `hello_world_string` | ✔️ | Hello, World! |
|
||||
| `lorem_ipsum_string` | ❌ | |
|
||||
| Name | Is Required? | Default |
|
||||
|:-------------------------------:|:------------:|:-------------:|
|
||||
| `test_role__hello_world_string` | ✔️ | Hello, World! |
|
||||
| `test_role__lorem_ipsum_string` | ❌ | |
|
||||
|
@@ -1 +1 @@
|
||||
hello_world_string: Hello, World!
|
||||
test_role__hello_world_string: Hello, World!
|
||||
|
@@ -3,9 +3,10 @@
|
||||
|
||||
- name: Print an "Hello, World!"
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ hello_world_string }}"
|
||||
msg: "{{ test_role__hello_world_string }}"
|
||||
|
||||
- name: Test the `ansible_managed` variable
|
||||
ansible.builtin.template:
|
||||
dest: /tmp/ansible.txt
|
||||
src: ansible.txt.j2
|
||||
src: ansible.txt.j2
|
||||
mode: preserve
|
||||
|
@@ -1,3 +1,3 @@
|
||||
# {{ ansible_managed }}
|
||||
{{ ansible_managed | comment('plain') }}
|
||||
|
||||
{{ lorem_ipsum_string }}
|
||||
{{ test_role__lorem_ipsum_string }}
|
||||
|
Reference in New Issue
Block a user