Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gfaivre committed Jan 10, 2024
1 parent 03571c9 commit 5f920c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions content/blog/cours/ansible/ansible-les-playbooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Créons un nouveau fichier que nous appellerons `example.yml` dans notre répert

```yaml
---
- hosts: web
- hosts: webservers

tasks:
- name: Check if host is alive # Description of the task
Expand All @@ -63,7 +63,7 @@ Rappelez-vous nous pouvons traduire les instructions suivantes sous forme de **t

```php
array (
'hosts' => 'web',
'hosts' => 'webservers',
'tasks' =>
array (
0 =>
Expand Down
10 changes: 7 additions & 3 deletions content/blog/cours/ansible/ansible-les-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ Pour commencer attaquons nous aux variables qu'Ansible lui même manipule pour s

## Les variables

### Les « facts »
### Les variables d'hôte

### Les variables d'inventaire
hostname: web-staging-01

### Les variables de groupe

### Les variables d'hôte
hostname: web-staging-01

workshop: ansible
### Les « facts »


0 comments on commit 5f920c3

Please sign in to comment.