diff --git a/ansible.cfg b/ansible.cfg deleted file mode 100644 index 14c80651..00000000 --- a/ansible.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[defaults] -host_key_checking = False diff --git a/celery.yml b/celery.yml deleted file mode 100644 index 3874e2f2..00000000 --- a/celery.yml +++ /dev/null @@ -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] diff --git a/docker.yml b/docker.yml deleted file mode 100644 index f4c70229..00000000 --- a/docker.yml +++ /dev/null @@ -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 diff --git a/hiera.yaml b/hiera.yaml deleted file mode 100644 index ca27ee57..00000000 --- a/hiera.yaml +++ /dev/null @@ -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 diff --git a/kolla.yml b/kolla.yml deleted file mode 100644 index 99cee081..00000000 --- a/kolla.yml +++ /dev/null @@ -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 diff --git a/slave.yml b/slave.yml deleted file mode 100644 index 0a2bf440..00000000 --- a/slave.yml +++ /dev/null @@ -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 diff --git a/slave_cinder.yml b/slave_cinder.yml deleted file mode 100644 index aafb61d8..00000000 --- a/slave_cinder.yml +++ /dev/null @@ -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