From 69b61ab6ce2e4415d45af84128a8cc2bca78c75d Mon Sep 17 00:00:00 2001 From: "Daniel A. Maierhofer" Date: Fri, 9 Feb 2018 17:16:33 +0100 Subject: [PATCH] Add hosts to site.yml --- site.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/site.yml b/site.yml index 819a8aa..b1d687e 100644 --- a/site.yml +++ b/site.yml @@ -3,24 +3,33 @@ user: root become: False roles: - - common - - backup + - common + - backup - hosts: backupclient user: root become: False roles: - - common - - backupclient + - common + - backupclient - hosts: ruby become: true roles: - - common - - rvm1-ansible + - common + - rvm1-ansible - hosts: test_common sudo: True + +- hosts: all + gather_facts: False + tasks: + - name: install python3 + raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) + +- hosts: ariane roles: - common - +# - rvm1-ansible + - ariane