2
0

Exercices: user:formation -> user:ansible

This commit is contained in:
2018-06-29 12:20:19 +02:00
parent 8b5040b32a
commit ec07976964
13 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
tasks: tasks:
- name: install apache - name: install apache

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
handlers: handlers:
- name: reload httpd - name: reload httpd

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
handlers: handlers:
- name: reload httpd - name: reload httpd

View File

@@ -1,6 +1,6 @@
--- ---
- hosts: test - hosts: test
become: true become: true
user: formation user: ansible
roles: roles:
- myapache - myapache

View File

@@ -1,7 +1,7 @@
--- ---
- hosts: test - hosts: test
become: true become: true
user: formation user: ansible
vars: vars:
- apache_vhosts: - apache_vhosts:
- servername: vhost1 - servername: vhost1

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- { role: myapache, servername: 'thomas.fr' } - { role: myapache, servername: 'thomas.fr' }

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- myapache2 - myapache2

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- myapache3 - myapache3

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- myapache4 - myapache4

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- myapache4 - myapache4

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
vars_prompt: vars_prompt:
- name: httpasswd - name: httpasswd

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
roles: roles:
- myapache - myapache

View File

@@ -1,7 +1,7 @@
--- ---
- name: install apache via ansible playbook - name: install apache via ansible playbook
hosts: test hosts: test
user: formation user: ansible
become: true become: true
vars_prompt: vars_prompt:
- name: httpasswd - name: httpasswd