Merge pull request #63 from johngian/admin
Add admin role in top level playbook.
This commit is contained in:
Коммит
dfd43620a9
|
@ -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
|
||||
|
|
22
site.yml
22
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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче