Commit e95095ea authored by viscapi's avatar viscapi
Browse files

Added some information regarding inventory and playbook files

parent 852c3da0
HOWTO
HOWTO
================
1. Informations diverses
Ces rôles Ansible devraient vous permettre d'installer iRODS ainsi que sa base PostgreSQL "ICAT" sur deux machines.
2. Dépôt Gitlab
......@@ -13,6 +12,45 @@ Ce dépôt Gitlab comprend deux rôles Ansible:
- iRODS
- postgresql
3. Préparation du fichier de playbook irods.yml
```
---
- name: Installation serveur PostgreSQL
hosts: irods_database
roles:
- postgresql
become: true
become_user: root
become_method: sudo
vars_files:
- "group_vars/iRODS/main.yml"
- name: Installation serveur iRODS
hosts: irods_server
roles:
- iRODS
become: true
become_user: root
become_method: sudo
vars_fles:
- "group_vars/iRODS/main.yml"
...
```
4. Préparation du fichier d'inventaire irods_hosts
```
[irods_server]
myhost1.mydomain.tld
[irods_data]
myhost2.mydomain.tld
```
5. Lancement du playbook
```bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment