diff options
author | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2018-11-08 23:52:14 +0100 |
---|---|---|
committer | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2018-11-09 00:11:09 +0100 |
commit | c4606fce8ff23842250eff18f285ed9e38b98a3c (patch) | |
tree | 3d3e00dcdd805ed34990623a690384dc5279d814 /test | |
parent | b91d73415f453ef39faf9824601b3fbeecceb4ef (diff) | |
download | ansible-postgresql-role-c4606fce8ff23842250eff18f285ed9e38b98a3c.tar.gz ansible-postgresql-role-c4606fce8ff23842250eff18f285ed9e38b98a3c.tar.zst ansible-postgresql-role-c4606fce8ff23842250eff18f285ed9e38b98a3c.zip |
Fix CI
Diffstat (limited to 'test')
-rw-r--r-- | test/hosts | 1 | ||||
-rw-r--r-- | test/main.yml | 4 | ||||
-rw-r--r-- | test/requirements.yml | 3 | ||||
l--------- | test/roles/ansible-postgresql-role | 1 | ||||
l--------- | test/roles/postgresql | 1 |
5 files changed, 7 insertions, 3 deletions
@@ -0,0 +1 @@ | |||
localhost ansible_connection=local | |||
diff --git a/test/main.yml b/test/main.yml index 19ff526..3224833 100644 --- a/test/main.yml +++ b/test/main.yml | |||
@@ -132,7 +132,7 @@ | |||
132 | postgres_listen_addresses: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" | 132 | postgres_listen_addresses: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" |
133 | pre_tasks: *pre_tasks | 133 | pre_tasks: *pre_tasks |
134 | roles: | 134 | roles: |
135 | - { role: postgresql, tags: ['postgres'] } | 135 | - { role: ansible-postgresql-role, tags: ['postgres'] } |
136 | tasks: | 136 | tasks: |
137 | - name: Start postgres cluster | 137 | - name: Start postgres cluster |
138 | service: name=postgresql state=started | 138 | service: name=postgresql state=started |
@@ -151,4 +151,4 @@ | |||
151 | postgres_listen_addresses: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" | 151 | postgres_listen_addresses: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" |
152 | pre_tasks: *pre_tasks | 152 | pre_tasks: *pre_tasks |
153 | roles: | 153 | roles: |
154 | - { role: postgresql, tags: ['postgres'] } | 154 | - { role: ansible-postgresql-role, tags: ['postgres'] } |
diff --git a/test/requirements.yml b/test/requirements.yml index 1b1155c..4c72838 100644 --- a/test/requirements.yml +++ b/test/requirements.yml | |||
@@ -1,3 +1,6 @@ | |||
1 | - src: chrismeyersfsu.provision_docker | 1 | - src: chrismeyersfsu.provision_docker |
2 | name: provision_docker | 2 | name: provision_docker |
3 | version: 7a6243dfcf69f9d262877eca487bc14b62ba6960 | 3 | version: 7a6243dfcf69f9d262877eca487bc14b62ba6960 |
4 | - src: trainline-eu.ansible_barman_role | ||
5 | name: barman | ||
6 | version: 1.0.0 | ||
diff --git a/test/roles/ansible-postgresql-role b/test/roles/ansible-postgresql-role new file mode 120000 index 0000000..af2d79b --- /dev/null +++ b/test/roles/ansible-postgresql-role | |||
@@ -0,0 +1 @@ | |||
../../../ansible-postgresql-role \ No newline at end of file | |||
diff --git a/test/roles/postgresql b/test/roles/postgresql deleted file mode 120000 index f47fac4..0000000 --- a/test/roles/postgresql +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | ../../../postgresql \ No newline at end of file | ||