diff --git a/11_gestion_erreurs/apache.yml b/11_gestion_erreurs/apache.yml index 072ddf2..99ba3f3 100644 --- a/11_gestion_erreurs/apache.yml +++ b/11_gestion_erreurs/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true tasks: - name: install apache diff --git a/12_handlers/apache.yml b/12_handlers/apache.yml index 55d03a9..06b17e1 100644 --- a/12_handlers/apache.yml +++ b/12_handlers/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true handlers: - name: reload httpd diff --git a/14_tags/apache.yml b/14_tags/apache.yml index 782913f..050b169 100644 --- a/14_tags/apache.yml +++ b/14_tags/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true handlers: - name: reload httpd diff --git a/15_roles/apache.yml b/15_roles/apache.yml index 8053656..db5a332 100644 --- a/15_roles/apache.yml +++ b/15_roles/apache.yml @@ -1,6 +1,6 @@ --- - hosts: test become: true - user: formation + user: ansible roles: - myapache \ No newline at end of file diff --git a/16_galaxy/apache_geerlingguy.yml b/16_galaxy/apache_geerlingguy.yml index 4d5a277..3f6ef37 100644 --- a/16_galaxy/apache_geerlingguy.yml +++ b/16_galaxy/apache_geerlingguy.yml @@ -1,7 +1,7 @@ --- - hosts: test become: true - user: formation + user: ansible vars: - apache_vhosts: - servername: vhost1 diff --git a/17.1_variable/apache.yml b/17.1_variable/apache.yml index 5f9d022..c6ef875 100644 --- a/17.1_variable/apache.yml +++ b/17.1_variable/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - { role: myapache, servername: 'thomas.fr' } diff --git a/17.2_variable/apache.yml b/17.2_variable/apache.yml index af83f74..b049649 100644 --- a/17.2_variable/apache.yml +++ b/17.2_variable/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - myapache2 diff --git a/17.3_variable/apache.yml b/17.3_variable/apache.yml index 19313a5..48a17d7 100644 --- a/17.3_variable/apache.yml +++ b/17.3_variable/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - myapache3 diff --git a/20_conditions/apache.yml b/20_conditions/apache.yml index f43ed9c..f82b6b0 100644 --- a/20_conditions/apache.yml +++ b/20_conditions/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - myapache4 diff --git a/21_myphp/php.yml b/21_myphp/php.yml index f73d1fd..c9f0c40 100644 --- a/21_myphp/php.yml +++ b/21_myphp/php.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - myapache4 diff --git a/23_prompts/apache.yml b/23_prompts/apache.yml index a67b2cd..e7fbd62 100644 --- a/23_prompts/apache.yml +++ b/23_prompts/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true vars_prompt: - name: httpasswd diff --git a/25_vaults/apache.yml b/25_vaults/apache.yml index 5836d03..9fa4778 100644 --- a/25_vaults/apache.yml +++ b/25_vaults/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true roles: - myapache diff --git a/26_synthese/apache.yml b/26_synthese/apache.yml index a67b2cd..e7fbd62 100644 --- a/26_synthese/apache.yml +++ b/26_synthese/apache.yml @@ -1,7 +1,7 @@ --- - name: install apache via ansible playbook hosts: test - user: formation + user: ansible become: true vars_prompt: - name: httpasswd