tests: gcloud setup fixes.

pull/262/head
David Wilson 7 years ago
parent aba6cb302a
commit cee76ee7b9

@ -1,3 +1,6 @@
[defaults] [defaults]
strategy_plugins = ../../../ansible_mitogen/plugins/strategy
strategy = mitogen
inventory = hosts inventory = hosts
retry_files_enabled = False retry_files_enabled = False
host_key_checking = False

@ -1,9 +1,6 @@
- hosts: controller - hosts: controller
tasks: tasks:
- shell: "rsync -a ~/.ssh {{inventory_hostname}}:"
connection: local
- lineinfile: - lineinfile:
line: "net.ipv4.ip_forward=1" line: "net.ipv4.ip_forward=1"
path: /etc/sysctl.conf path: /etc/sysctl.conf
@ -30,6 +27,10 @@
- libsasl2-dev - libsasl2-dev
- build-essential - build-essential
- git - git
- rsync
- shell: "rsync -a ~/.ssh {{inventory_hostname}}:"
connection: local
- git: - git:
dest: ~/mitogen dest: ~/mitogen
@ -39,7 +40,7 @@
- git: - git:
dest: ~/ansible dest: ~/ansible
repo: https://github.com/dw/ansible.git repo: https://github.com/dw/ansible.git
version: lazy-vars version: dmw
- pip: - pip:
virtualenv: ~/venv virtualenv: ~/venv

Loading…
Cancel
Save