Remove unused ansible playbooks
These were moved to bootstrap, removed ones are unused legacy code.
This commit is contained in:
parent
95df650ae2
commit
6ae67df282
@ -1,2 +0,0 @@
|
||||
[defaults]
|
||||
host_key_checking = False
|
18
celery.yml
18
celery.yml
@ -1,18 +0,0 @@
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
vars:
|
||||
celery_dir: /var/run/celery
|
||||
tasks:
|
||||
- shell: mkdir -p {{celery_dir}}
|
||||
- shell: pip install celery
|
||||
- shell: hostname
|
||||
register: hostname
|
||||
- shell: celery multi kill 2
|
||||
chdir={{celery_dir}}
|
||||
tags: [stop]
|
||||
- shell: celery multi start 2 -A solar.orchestration.runner -Q:1 scheduler,system_log -Q:2 celery,{{hostname.stdout}}
|
||||
chdir={{celery_dir}}
|
||||
tags: [master]
|
||||
- shell: celery multi start 1 -A solar.orchestration.runner -Q:1 {{hostname.stdout}}
|
||||
chdir={{celery_dir}}
|
||||
tags: [slave]
|
@ -1,8 +0,0 @@
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
tasks:
|
||||
- shell: docker --version
|
||||
ignore_errors: true
|
||||
register: docker_version
|
||||
- shell: curl -sSL https://get.docker.com/ | sudo sh
|
||||
when: docker_version | failed
|
15
hiera.yaml
15
hiera.yaml
@ -1,15 +0,0 @@
|
||||
:backends:
|
||||
- redis
|
||||
#- yaml
|
||||
#- json
|
||||
:yaml:
|
||||
:datadir: /etc/puppet/hieradata
|
||||
:json:
|
||||
:datadir: /etc/puppet/hieradata
|
||||
:redis:
|
||||
:port: 6379
|
||||
:db: 0
|
||||
:host: localhost
|
||||
:deserialize: :json
|
||||
:hierarchy:
|
||||
- resource
|
20
kolla.yml
20
kolla.yml
@ -1,20 +0,0 @@
|
||||
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
tasks:
|
||||
- git: repo=https://github.com/stackforge/kolla.git dest=./kolla
|
||||
- shell: sh ./kolla/tools/genenv
|
||||
- shell: docker pull {{item}}
|
||||
with_items:
|
||||
- kollaglue/centos-rdo-glance-registry
|
||||
- kollaglue/centos-rdo-glance-api
|
||||
- kollaglue/centos-rdo-keystone
|
||||
- kollaglue/centos-rdo-mariadb-data
|
||||
- kollaglue/centos-rdo-mariadb-app
|
||||
- kollaglue/centos-rdo-nova-conductor:latest
|
||||
- kollaglue/centos-rdo-nova-api:latest
|
||||
- kollaglue/centos-rdo-nova-scheduler:latest
|
||||
- kollaglue/centos-rdo-nova-libvirt
|
||||
- kollaglue/centos-rdo-nova-network
|
||||
- kollaglue/centos-rdo-nova-compute
|
||||
- kollaglue/centos-rdo-rabbitmq
|
11
slave.yml
11
slave.yml
@ -1,11 +0,0 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
tasks:
|
||||
- lineinfile: line='slaveof 10.0.0.2 6379' dest=/etc/redis/redis.conf
|
||||
- service: name=redis-server state=restarted
|
||||
|
||||
# turn off default ubuntu repos since they conflict with our custom mirrors
|
||||
#- template: src=/vagrant/sources.list dest=/etc/apt/sources.list
|
||||
# shell: apt-get update
|
@ -1,14 +0,0 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
sudo: yes
|
||||
tasks:
|
||||
- apt: name=lvm2 state=present
|
||||
- command: sudo truncate -s 10G /root/cinder.img creates=/root/cinder.img
|
||||
- shell: sudo losetup -a|grep cinder
|
||||
register: loop_created
|
||||
ignore_errors: True
|
||||
- command: sudo losetup /dev/loop0 /root/cinder.img
|
||||
when: loop_created|failed
|
||||
- lvg: vg=cinder-volumes pvs=/dev/loop0
|
||||
when: loop_created|failed
|
Loading…
Reference in New Issue
Block a user