From ec4258f9e9419ce7e9950ffb7080d9b15162a2f4 Mon Sep 17 00:00:00 2001 From: John Giannelos Date: Tue, 4 Oct 2016 18:21:54 +0300 Subject: [PATCH] Add admin role in top level playbook. --- inventory/common_hosts | 5 ++--- site.yml | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/inventory/common_hosts b/inventory/common_hosts index b2a0c1c..9e486bb 100644 --- a/inventory/common_hosts +++ b/inventory/common_hosts @@ -1,7 +1,6 @@ [tag_app_openvpn] [tag_app_consul] [tag_app_storage] -[tag_app_jenkins] [openvpn:children] tag_app_openvpn @@ -15,5 +14,5 @@ tag_app_consul [storage:children] tag_app_storage -[jenkins:children] -tag_app_jenkins +[admin:children] +tag_Name_admin diff --git a/site.yml b/site.yml index 68151ad..9b39e04 100644 --- a/site.yml +++ b/site.yml @@ -8,6 +8,18 @@ - consul - jnv.unattended-upgrades +- hosts: admin + sudo: yes + roles: + - admin + - jenkins + tags: + - admin + - jenkins + vars: + jenkins_efs_mountpoint: '/opt/jenkins' + jenkins_filesystem_id: 'fs-1766af5e' + - hosts: mesos-master tasks: [] tags: @@ -62,13 +74,3 @@ - mesos-slave tags: - mesos-slave - -- hosts: jenkins - sudo: yes - roles: - - jenkins - tags: - - jenkins - vars: - jenkins_efs_mountpoint: '/opt/jenkins' - jenkins_filesystem_id: 'fs-1766af5e'