Actualiser playbook.yml
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become_user: stephane
|
become_user: staffadmin
|
||||||
become: false
|
become: false
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
@@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
- name: Create a directory if it does not exist
|
- name: Create a directory if it does not exist
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /home/stephane/lala
|
path: /home/staffadmin/lala
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: stephane
|
owner: staffadmin
|
||||||
group: stephane
|
group: staffadmin
|
||||||
|
|
||||||
|
|
||||||
- name: Create a directory if it does not exist
|
- name: Create a directory if it does not exist
|
||||||
|
|||||||
Reference in New Issue
Block a user