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_openvpn]
|
||||||
[tag_app_consul]
|
[tag_app_consul]
|
||||||
[tag_app_storage]
|
[tag_app_storage]
|
||||||
[tag_app_jenkins]
|
|
||||||
|
|
||||||
[openvpn:children]
|
[openvpn:children]
|
||||||
tag_app_openvpn
|
tag_app_openvpn
|
||||||
|
@ -15,5 +14,5 @@ tag_app_consul
|
||||||
[storage:children]
|
[storage:children]
|
||||||
tag_app_storage
|
tag_app_storage
|
||||||
|
|
||||||
[jenkins:children]
|
[admin:children]
|
||||||
tag_app_jenkins
|
tag_Name_admin
|
||||||
|
|
22
site.yml
22
site.yml
|
@ -8,6 +8,18 @@
|
||||||
- consul
|
- consul
|
||||||
- jnv.unattended-upgrades
|
- 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
|
- hosts: mesos-master
|
||||||
tasks: []
|
tasks: []
|
||||||
tags:
|
tags:
|
||||||
|
@ -62,13 +74,3 @@
|
||||||
- mesos-slave
|
- mesos-slave
|
||||||
tags:
|
tags:
|
||||||
- mesos-slave
|
- mesos-slave
|
||||||
|
|
||||||
- hosts: jenkins
|
|
||||||
sudo: yes
|
|
||||||
roles:
|
|
||||||
- jenkins
|
|
||||||
tags:
|
|
||||||
- jenkins
|
|
||||||
vars:
|
|
||||||
jenkins_efs_mountpoint: '/opt/jenkins'
|
|
||||||
jenkins_filesystem_id: 'fs-1766af5e'
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче