Changed some options in the ansible.cfg

This commit is contained in:
Nicola Belluti 2023-08-31 03:28:29 +02:00
parent 47719a45ca
commit b29e540285
8 changed files with 27 additions and 1048 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.venv
.ansible/
.venv/

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
test-hosts:
test_hosts:
hosts:
127.0.0.1:
127.0.0.2:

View File

@ -1,4 +1,5 @@
- name: Test Playbook
hosts: test-hosts
hosts: test_hosts
roles:
- role: test-role
- name: Test Role
role: test_role

View File

@ -1 +1,2 @@
ansible ~= 8.3.0
ansible ~= 8.3.0
ansible-lint ~= 6.18.0

View File

@ -1,6 +0,0 @@
- name: Ping my hosts
ansible.builtin.ping:
- name: Print message
ansible.builtin.debug:
msg: Hello, world!

View 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

View File

@ -0,0 +1 @@
# {{ ansible_managed }}