Actualiser playbook.yml
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become: true
|
become: false
|
||||||
|
become_user: stephane
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
test_var: test
|
test_var: test
|
||||||
@@ -13,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/test
|
path: /home/stephane/test
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: root
|
owner: stephane
|
||||||
group: root
|
group: stephane
|
||||||
|
|
||||||
# - name: Update apt packages
|
# - name: Update apt packages
|
||||||
# apt:
|
# apt:
|
||||||
|
|||||||
Reference in New Issue
Block a user