Actualiser playbook.yml

This commit is contained in:
2023-09-23 15:29:06 +02:00
parent 7fe0c173c0
commit 1fedcdbddd

View File

@@ -1,6 +1,6 @@
---
- hosts: all
become_user: stephane
become_user: staffadmin
become: false
gather_facts: no
vars:
@@ -14,11 +14,11 @@
- name: Create a directory if it does not exist
ansible.builtin.file:
path: /home/stephane/lala
path: /home/staffadmin/lala
state: directory
mode: '0755'
owner: stephane
group: stephane
owner: staffadmin
group: staffadmin
- name: Create a directory if it does not exist