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
hosts: test
user: formation
user: ansible
become: true
tasks:
- name: install apache

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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