Commit da16023b authored by Bonnegent Sebastien's avatar Bonnegent Sebastien
Browse files

ajout d'un exemple avec postgres

parent e5f57f3e
Pipeline #8669 passed with stage
in 15 seconds
......@@ -336,6 +336,20 @@ ansible_hostname: {{ ansible_hostname }}
state: latest
~~~
## Utilisation d'un utilisateur
~~~yml
---
- name: Mise à jour des paquets
hosts: all
tasks:
- name: postgresql_db
become: yes
become_user: postgres
postgresql_db:
name: {{dbname}}
state: present
~~~
# Variables
## Variables
- group_vars/all: s'applique à toutes les cibles
......
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