diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2017-03-14 16:06:35 +0100 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2017-03-14 16:06:35 +0100 |
commit | c2168f5f27f41ab2de6dc30d70d7627926bbec83 (patch) | |
tree | f3d6d9a9b53284cfd8b8a214340918e057481012 /playbook-test.yml | |
parent | 8fbd4f9ac58002f67eccc5fb78afc95d28584f52 (diff) |
Move ansible-stuff one directory up
This fixes the ansible 2.1? 2.2? issue where they changed what is
considered PWD.
Diffstat (limited to 'playbook-test.yml')
-rw-r--r-- | playbook-test.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/playbook-test.yml b/playbook-test.yml new file mode 100644 index 0000000..6bb95ec --- /dev/null +++ b/playbook-test.yml @@ -0,0 +1,40 @@ +--- +- hosts: all + become: false + roles: + - basics + - test + vars: + - images: + - name: "gondul-db-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul", "{{ pwd.stdout }}/data/postgresql:/var/lib/postgresql" ] + links: [] + ports: [] + - name: "gondul-graphite-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" , "{{ pwd.stdout }}/data/graphite:/var/lib/graphite" ] + links: [] + ports: [] + - name: "gondul-grafana-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" , "{{ pwd.stdout }}/data/grafana:/var/lib/grafana" ] + links: ["gondul-graphite-test:graphite","gondul-db-test:db" ] + ports: [] + - name: "gondul-front-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" ] + links: [ "gondul-db-test:db" ] + ports: "{{ front_ports }}" + - name: "gondul-templating-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" ] + links: [ "gondul-front-test:gondul-front"] + ports: [] + - name: "gondul-varnish-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" ] + links: [ "gondul-front-test:gondul-front", "gondul-graphite-test:gondul-graphite", "gondul-templating-test:gondul-templating", "gondul-grafana-test:gondul-grafana" ] + ports: "{{ varnish_ports }}" + - name: "gondul-collector-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" ] + links: [ "gondul-db-test:db", "gondul-graphite-test:graphite" ] + ports: [] + - name: "gondul-snmp-test" + volumes: [ "{{ pwd.stdout }}/:/opt/gondul" ] + links: [ "gondul-db-test:db", "gondul-graphite-test:graphite" ] + ports: [] |