2017-07-17 23:26:48 +08:00
|
|
|
---
|
|
|
|
- hosts: localhost
|
|
|
|
gather_facts: false
|
2017-07-26 22:29:50 +08:00
|
|
|
become: no
|
2017-07-17 23:26:48 +08:00
|
|
|
tags:
|
|
|
|
- vagrant_setup
|
|
|
|
tasks:
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: change ceph_repository to 'dev'
|
2017-07-17 23:26:48 +08:00
|
|
|
replace:
|
2017-08-03 21:30:25 +08:00
|
|
|
regexp: "ceph_repository:.*"
|
|
|
|
replace: "ceph_repository: dev"
|
2017-07-17 23:26:48 +08:00
|
|
|
dest: "{{ change_dir }}/group_vars/all"
|
|
|
|
when: change_dir is defined
|
|
|
|
|
2017-08-22 01:36:38 +08:00
|
|
|
- name: change nfs-ganesha repository to 'dev'
|
|
|
|
replace:
|
|
|
|
regexp: "nfs_ganesha_stable:.*"
|
|
|
|
replace: "nfs_ganesha_stable: false"
|
|
|
|
dest: "{{ change_dir }}/group_vars/all"
|
|
|
|
replace:
|
|
|
|
regexp: "nfs_ganesha_dev:.*"
|
|
|
|
replace: "nfs_ganesha_dev: true"
|
|
|
|
dest: "{{ change_dir }}/group_vars/all"
|
|
|
|
when: change_dir is defined
|
|
|
|
|
2017-07-17 23:26:48 +08:00
|
|
|
- name: print contents of {{ change_dir }}/group_vars/all
|
|
|
|
command: "cat {{ change_dir }}/group_vars/all"
|