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
|
|
|
|
|
|
|
|
- name: print contents of {{ change_dir }}/group_vars/all
|
|
|
|
command: "cat {{ change_dir }}/group_vars/all"
|