Commit c2bed3d0 authored by Okhin's avatar Okhin

Indentation correcte

parent c9bd1c34
...@@ -12,32 +12,32 @@ ...@@ -12,32 +12,32 @@
workdir: /var/lib/ansible/local workdir: /var/lib/ansible/local
repo_url: https://git.laquadrature.net/lqdn-interne/piops.git repo_url: https://git.laquadrature.net/lqdn-interne/piops.git
tasks: tasks:
- name: installe ansible - name: installe ansible
package: package:
name: ansible name: ansible
state: latest state: latest
- name: créé le répertoire de travail local - name: créé le répertoire de travail local
file: file:
path: "{{ workdir }}" path: "{{ workdir }}"
state: directory state: directory
owner: root owner: root
mode: 0751 mode: 0751
- name: ajoute une entrée cron pour ansible - name: ajoute une entrée cron pour ansible
template: template:
path: /etc/cron.d/ansible-pull dest: /etc/cron.d/ansible-pull
src: templates/etc_cron.j2 src: templates/etc_cron.j2
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
- name: ajoute une règle logrotate pour ansible - name: ajoute une règle logrotate pour ansible
template: template:
path: /etc/logrotate.d/ansible dest: /etc/logrotate.d/ansible
src: templates/etc_logrotate.j2 src: templates/etc_logrotate.j2
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment