-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '245-correction-nom-luc' into 'master'
Resolve "Correction nom luc" Closes #245 See merge request formation/workshops!348
- Loading branch information
Showing
6 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../install_pg.sh |
1 change: 1 addition & 0 deletions
1
fr/pgbackrest_dans_tous_ses_etats/ansible/install_pgbackrest.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../install_pgbackrest.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters