Changed some options in the ansible.cfg
This commit is contained in:
parent
47719a45ca
commit
b29e540285
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.venv
|
||||
.ansible/
|
||||
.venv/
|
||||
|
1044
ansible.cfg
1044
ansible.cfg
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
test-hosts:
|
||||
test_hosts:
|
||||
hosts:
|
||||
127.0.0.1:
|
||||
127.0.0.2:
|
||||
|
@ -1,4 +1,5 @@
|
||||
- name: Test Playbook
|
||||
hosts: test-hosts
|
||||
hosts: test_hosts
|
||||
roles:
|
||||
- role: test-role
|
||||
- name: Test Role
|
||||
role: test_role
|
||||
|
@ -1 +1,2 @@
|
||||
ansible ~= 8.3.0
|
||||
ansible ~= 8.3.0
|
||||
ansible-lint ~= 6.18.0
|
||||
|
@ -1,6 +0,0 @@
|
||||
- name: Ping my hosts
|
||||
ansible.builtin.ping:
|
||||
|
||||
- name: Print message
|
||||
ansible.builtin.debug:
|
||||
msg: Hello, world!
|
11
roles/test_role/tasks/main.yml
Normal file
11
roles/test_role/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- name: Ping
|
||||
ansible.builtin.ping:
|
||||
|
||||
- name: Print an "Hello, World!"
|
||||
ansible.builtin.debug:
|
||||
msg: Hello, World!
|
||||
|
||||
- name: Test the `ansible_managed` variable
|
||||
ansible.builtin.template:
|
||||
dest: /tmp/ansible.txt
|
||||
src: ansible.txt.j2
|
1
roles/test_role/templates/ansible.txt.j2
Normal file
1
roles/test_role/templates/ansible.txt.j2
Normal file
@ -0,0 +1 @@
|
||||
# {{ ansible_managed }}
|
Loading…
x
Reference in New Issue
Block a user