Skip to content

Commit

Permalink
Merge branch '245-correction-nom-luc' into 'master'
Browse files Browse the repository at this point in the history
Resolve "Correction nom luc"

Closes #245

See merge request formation/workshops!348
  • Loading branch information
Robin Portigliatti committed Feb 2, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
2 parents 49fca4f + f85d359 commit a74ea5d
Showing 6 changed files with 60 additions and 1 deletion.
7 changes: 7 additions & 0 deletions fr/pgbackrest_dans_tous_ses_etats/ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[defaults]
stdout_callback=yaml
stderr_callback=yaml
host_key_checking = false

[privilege_escalation]
become_flags=-i
31 changes: 31 additions & 0 deletions fr/pgbackrest_dans_tous_ses_etats/ansible/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# provisionning/all.yml
- name: "Install"
hosts: "postgres"
gather_facts: false
tasks:
- name: "Copy file with owner and permissions"
ansible.builtin.copy:
src: install_pg.sh
dest: /tmp/install.sh
owner: formateur
group: formateur
mode: "0777"

- name: "Install"
hosts: "pgbackrest"
gather_facts: false
tasks:
- name: "Copy file with owner and permissions"
ansible.builtin.copy:
src: install_pgbackrest.sh
dest: /tmp/install.sh
owner: formateur
group: formateur
mode: "0777"

- name: "Install"
hosts: "all"
gather_facts: false
tasks:
- name: "Execute install.sh"
ansible.builtin.shell: "/tmp/install.sh"
1 change: 1 addition & 0 deletions fr/pgbackrest_dans_tous_ses_etats/ansible/install_pg.sh
19 changes: 19 additions & 0 deletions fr/pgbackrest_dans_tous_ses_etats/ansible/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[postgres]
172.16.8.15 ansible_port=2201 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.10 ansible_port=2202 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.4 ansible_port=2203 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.16 ansible_port=2204 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.17 ansible_port=2205 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.14 ansible_port=2206 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.13 ansible_port=2207 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.3 ansible_port=2208 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.6 ansible_port=2209 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.2 ansible_port=2210 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.18 ansible_port=2211 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.8 ansible_port=2212 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.9 ansible_port=2213 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.11 ansible_port=2214 ansible_host=51.15.206.134 ansible_user=formateur
172.16.8.7 ansible_port=2215 ansible_host=51.15.206.134 ansible_user=formateur

[pgbackrest]
172.16.8.5 ansible_port=2216 ansible_host=51.15.206.134 ansible_user=formateur
2 changes: 1 addition & 1 deletion fr/pgbackrest_dans_tous_ses_etats/workshop.md
Original file line number Diff line number Diff line change
@@ -1344,7 +1344,7 @@ backup-standby=y
- Bertrand Painchaud
- Florent Jardin
- Laura Ricci
- Luc Amarle
- Luc Lamarle
- Mathieu Ribes
- Nicolas Gollet
- Pauline Montpied

0 comments on commit a74ea5d

Please sign in to comment.