Actualiser playbook.yml

This commit is contained in:
2023-09-23 14:58:47 +02:00
parent cdac410810
commit ce23200819

View File

@@ -1,6 +1,7 @@
---
- hosts: all
become: true
become: false
become_user: stephane
gather_facts: no
vars:
test_var: test
@@ -13,11 +14,11 @@
- name: Create a directory if it does not exist
ansible.builtin.file:
path: /home/test
path: /home/stephane/test
state: directory
mode: '0755'
owner: root
group: root
owner: stephane
group: stephane
# - name: Update apt packages
# apt: