tests: fix a typo in dev_setup.yml

c907ec41ae introduced a typo.
This commit fixes it.

```
[WARNING]: While constructing a mapping from /home/guits/ceph-ansible/tests/functional/dev_setup.yml, line 21, column 9, found a duplicate dict key (replace).
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 2798774e96)
pull/3988/head
Guillaume Abrioux 2019-05-14 14:27:19 +02:00
parent 1e23d853f9
commit 0f9df389df
1 changed files with 23 additions and 21 deletions

View File

@ -7,28 +7,30 @@
- block: - block:
- name: set_fact group_vars_path - name: set_fact group_vars_path
set_fact: set_fact:
group_vars_path: "{{ change_dir + '/hosts' if 'ooo-collocation' in change_dir.split('/') else change_dir + '/group_vars/all' }}" group_vars_path: "{{ change_dir + '/hosts' if 'ooo-collocation' in change_dir.split('/') else change_dir + '/group_vars/all' }}"
- name: change ceph_repository to 'dev' - block:
replace: - name: change ceph_repository to 'dev'
regexp: "ceph_repository:.*" replace:
replace: "ceph_repository: dev" regexp: "ceph_repository:.*"
dest: "{{ group_vars_path }}" replace: "ceph_repository: dev"
when: change_dir is defined dest: "{{ group_vars_path }}"
- name: change nfs-ganesha repository to 'dev' - name: ensure nfs_ganesha_stable is set to False
replace: replace:
regexp: "nfs_ganesha_stable=.*" regexp: "nfs_ganesha_stable=.*"
replace: "nfs_ganesha_stable=False" replace: "nfs_ganesha_stable=False"
dest: "{{ group_vars_path }}" dest: "{{ group_vars_path }}"
replace:
regexp: "nfs_ganesha_dev:.*"
replace: "nfs_ganesha_dev=True"
dest: "{{ group_vars_path }}"
when: change_dir is defined
- name: print contents of {{ group_vars_path }} - name: ensure nfs_ganesha_dev is set to True
command: "cat {{ group_vars_path }}" replace:
regexp: "nfs_ganesha_dev:.*"
replace: "nfs_ganesha_dev=True"
dest: "{{ group_vars_path }}"
when: change_dir is defined
- name: print contents of {{ group_vars_path }}
command: "cat {{ group_vars_path }}"
when: dev_setup when: dev_setup