Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit f310c148 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

refactor: use Ansible good practises

parent 406da9d0
No related branches found
No related tags found
No related merge requests found
Pipeline #35747 failed
--- ---
- hosts: localhost - name: Test Ansible-lint in CI
hosts: localhost
tasks: tasks:
- name: Hello world - name: Hello world
debug: msg="Hello!" ansible.builtin.debug: msg="Hello!"
- name: Create hello file - name: Create hello file
file: path=/tmp/hello.world state=touch ansible.builtin.file:
path: "/tmp/hello.world"
state: touch
mode: "0600"
- name: Find hello files - name: Find hello files
find: ansible.builtin.find:
paths: "/tmp" paths: "/tmp"
pattern: "hello.world" pattern: "hello.world"
- name: Print dummy secret - name: Print dummy secret
debug: var=dummy ansible.builtin.debug:
var: "dummy"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment