Exercices: user:formation -> user:ansible
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
tasks:
|
||||
- name: install apache
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
handlers:
|
||||
- name: reload httpd
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
handlers:
|
||||
- name: reload httpd
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- hosts: test
|
||||
become: true
|
||||
user: formation
|
||||
user: ansible
|
||||
roles:
|
||||
- myapache
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- hosts: test
|
||||
become: true
|
||||
user: formation
|
||||
user: ansible
|
||||
vars:
|
||||
- apache_vhosts:
|
||||
- servername: vhost1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- { role: myapache, servername: 'thomas.fr' }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- myapache2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- myapache3
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- myapache4
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- myapache4
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
vars_prompt:
|
||||
- name: httpasswd
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
roles:
|
||||
- myapache
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: install apache via ansible playbook
|
||||
hosts: test
|
||||
user: formation
|
||||
user: ansible
|
||||
become: true
|
||||
vars_prompt:
|
||||
- name: httpasswd
|
||||
|
||||
Reference in New Issue
Block a user